OW2 Consortium dream

Rev

Rev 2188 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1738 garciap 1
<?xml version="1.0" encoding="UTF-8"?>
2
<!--
1957 garciap 3
  * This library is free software; you can redistribute it and/or
4
  * modify it under the terms of the GNU Lesser General Public
5
  * License as published by the Free Software Foundation; either
6
  * version 2 of the License, or (at your option) any later version.
7
  *
8
  * This library is distributed in the hope that it will be useful,
9
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11
  * Lesser General Public License for more details.
12
  *
13
  * You should have received a copy of the GNU Lesser General Public
14
  * License along with this library; if not, write to the Free Software
15
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
1738 garciap 16
-->
2185 rnaudin 17
<project xmlns="http://maven.apache.org/POM/4.0.0"
18
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
1957 garciap 20
 
1807 garciap 21
  <modelVersion>4.0.0</modelVersion>
1957 garciap 22
 
1807 garciap 23
  <parent>
1957 garciap 24
    <groupId>org.objectweb.dream.dreamcore.examples</groupId>
1807 garciap 25
    <artifactId>parent</artifactId>
2185 rnaudin 26
    <version>2.0-SNAPSHOT</version>
1807 garciap 27
  </parent>
1957 garciap 28
 
1807 garciap 29
  <groupId>org.objectweb.dream.dreamcore.examples</groupId>
30
  <artifactId>dream-core-helloworld</artifactId>
31
  <name>Dream Core Helloworld example</name>
1957 garciap 32
  <description>
33
    HelloWorld example for the Dream Core project.
34
  </description>
2189 rnaudin 35
  <version>2.0.1-SNAPSHOT</version>
1957 garciap 36
 
1738 garciap 37
  <scm>
1957 garciap 38
    <connection>
2185 rnaudin 39
      ${scm.connection}/dreamcore/dream-core/examples/helloworld
1957 garciap 40
    </connection>
1807 garciap 41
    <developerConnection>
2185 rnaudin 42
      ${scm.developerConnection}/dreamcore/dream-core/examples/helloworld
1957 garciap 43
    </developerConnection>
2185 rnaudin 44
    <url>${scm.url}/dreamcore/dream-core/examples/helloworld</url>
1807 garciap 45
  </scm>
1957 garciap 46
 
1807 garciap 47
  <dependencies>
1739 garciap 48
    <dependency>
1807 garciap 49
      <groupId>org.objectweb.fractal</groupId>
50
      <artifactId>fractal-api</artifactId>
1842 garciap 51
      <version>2.0.2</version>
1807 garciap 52
    </dependency>
1957 garciap 53
 
1807 garciap 54
    <dependency>
55
      <groupId>org.objectweb.dream.dreamannotation</groupId>
56
      <artifactId>dream-annotation</artifactId>
2183 rnaudin 57
      <version>1.0.3</version>
1807 garciap 58
    </dependency>
1957 garciap 59
 
1807 garciap 60
    <dependency>
1957 garciap 61
      <groupId>org.objectweb.dream.dreamadl</groupId>
62
      <artifactId>dream-adl</artifactId>
2183 rnaudin 63
      <version>2.2</version>
1957 garciap 64
    </dependency>
65
 
66
    <dependency>
1807 garciap 67
      <groupId>org.objectweb.dream.dreamcore</groupId>
68
      <artifactId>dream-core</artifactId>
2183 rnaudin 69
      <version>2.1</version>
1807 garciap 70
    </dependency>
71
  </dependencies>
1957 garciap 72
 
1807 garciap 73
  <build>
74
    <plugins>
75
      <plugin>
76
        <groupId>net.sf.alchim</groupId>
77
        <artifactId>spoon-maven-plugin</artifactId>
1987 garciap 78
        <version>0.6.1</version>
2024 garciap 79
        <configuration>
80
          <cfg>${basedir}/src/main/config/spoon.cfg.xml</cfg>
81
        </configuration>
1807 garciap 82
        <executions>
83
          <execution>
84
            <goals>
85
              <goal>recompile</goal>
86
            </goals>
87
          </execution>
88
        </executions>
89
      </plugin>
1987 garciap 90
      <!-- Source packaging -->
91
      <plugin>
92
        <artifactId>maven-source-plugin</artifactId>
93
        <executions>
94
          <execution>
95
            <phase>package</phase>
96
            <goals>
97
              <goal>jar</goal>
98
            </goals>
99
          </execution>
100
        </executions>
101
      </plugin>
1807 garciap 102
    </plugins>
103
  </build>
1957 garciap 104
 
1807 garciap 105
  <!-- to run the HelloWorld class with "mvn -Prun" -->
106
  <profiles>
107
    <profile>
108
      <id>run</id>
2014 garciap 109
      <activation>
110
        <activeByDefault>true</activeByDefault>
111
      </activation>
1807 garciap 112
      <build>
113
        <defaultGoal>compile</defaultGoal>
2014 garciap 114
        <resources>
115
          <resource>
116
            <directory>${basedir}/src/main/resources</directory>
117
            <filtering>true</filtering>
118
          </resource>
119
        </resources>
1807 garciap 120
        <plugins>
121
          <plugin>
122
            <groupId>org.codehaus.mojo</groupId>
123
            <artifactId>exec-maven-plugin</artifactId>
124
            <executions>
125
              <execution>
126
                <goals>
127
                  <goal>java</goal>
128
                </goals>
129
                <phase>compile</phase>
130
              </execution>
131
            </executions>
132
            <configuration>
133
              <mainClass>helloworld.Main</mainClass>
1738 garciap 134
              <arguments>
135
                <!-- to use mono-threaded client component. -->
1957 garciap 136
                <argument>-mono</argument>
1738 garciap 137
                <!-- to use client component with thread pool.
1957 garciap 138
                  <argument>
139
                  -pool
140
                  </argument>
1738 garciap 141
                -->
142
              </arguments>
1807 garciap 143
              <systemProperties>
144
                <systemProperty>
145
                  <key>fractal.provider</key>
1957 garciap 146
                  <value>org.objectweb.fractal.julia.Julia</value>
1807 garciap 147
                </systemProperty>
148
                <systemProperty>
149
                  <key>julia.config</key>
1957 garciap 150
                  <value>
2024 garciap 151
                    julia-dreamcore-helloworld.cfg,julia-dream-activities-bundled.cfg
1957 garciap 152
                  </value>
1807 garciap 153
                </systemProperty>
154
              </systemProperties>
155
            </configuration>
156
          </plugin>
157
        </plugins>
158
      </build>
159
    </profile>
160
  </profiles>
1842 garciap 161
</project>