pom.xml 13.4 KB
Newer Older
1 2 3
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  
Lionel Seinturier's avatar
Lionel Seinturier committed
4 5 6 7 8 9
    <modelVersion>4.0.0</modelVersion>
    
    <groupId>org.ow2.frascati.tinfi</groupId>
    <artifactId>frascati-tinfi-parent</artifactId>
    <packaging>pom</packaging>
    <version>1.6-SNAPSHOT</version>
10

Lionel Seinturier's avatar
Lionel Seinturier committed
11 12 13
    <name>Tinfi</name>
    <url>http://frascati.ow2.org</url>
    <inceptionYear>2007</inceptionYear>
14

Lionel Seinturier's avatar
Lionel Seinturier committed
15 16 17 18 19 20
    <parent>
        <groupId>org.ow2</groupId>
        <artifactId>ow2</artifactId>
        <version>1.5</version>
        <relativePath/>
    </parent>
21

Lionel Seinturier's avatar
Lionel Seinturier committed
22
    <developers>
23 24 25 26
        <developer>
            <id>seinturier</id>
            <name>Lionel Seinturier</name>
            <email>Lionel.Seinturier@univ-lille1.fr</email>
27
            <organization>Univ. Lille 1</organization>
28 29 30 31 32 33 34 35 36 37
            <organizationUrl>http://www.univ-lille1.fr</organizationUrl>
            <roles>
                <role>Architect</role>
                <role>Developer</role>
            </roles>
        </developer>
        <developer>
            <id>fournier</id>
            <name>Damien Fournier</name>
            <email>Damien.Fournier@inria.fr</email>
38
            <organization>Inria</organization>
39 40 41 42 43 44 45 46
            <organizationUrl>http://www.inria.fr</organizationUrl>
            <roles>
              <role>Developer</role>
           </roles>
        </developer>
    </developers>

    <scm>
47 48 49
      <connection>scm:svn:svn://svn.forge.objectweb.org/svnroot/frascati/trunk/</connection>
      <developerConnection>scm:svn:svn+ssh://svn.forge.objectweb.org/svnroot/frascati/trunk/</developerConnection>
      <url>http://svn.forge.objectweb.org/cgi-bin/viewcvs.cgi/frascati/trunk/</url>
50 51 52
    </scm>
    
  
53 54 55
    <!-- ============= -->
    <!-- Repositories  -->
    <!-- ============= -->
56
  
Lionel Seinturier's avatar
Lionel Seinturier committed
57
      <repositories>
58

Lionel Seinturier's avatar
Lionel Seinturier committed
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
        <!-- =============================================================== -->
        <!-- The old ObjectWeb release repository.                           -->
        <!--                                                                 -->
        <!-- The new one http://repository.ow2.org/nexus (defined in the     -->
        <!-- parent POM org.ow2:ow2:1.3) is synchronized with Maven central, -->
        <!-- yet some artifacts from the old one are not deployed in the new -->
        <!-- one. This is the case for example for                           -->
        <!-- org.objectweb.fractal.julia:julia-mixins::jar:2.5.2             -->
        <!-- =============================================================== -->
        <repository>
              <id>objectweb-release</id>
              <name>Objectweb Release Repository</name>
              <url>http://maven.ow2.org/maven2</url>
              <releases><enabled>true</enabled></releases>
              <snapshots><enabled>false</enabled></snapshots>
        </repository>
75

Lionel Seinturier's avatar
Lionel Seinturier committed
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
        <!-- =============================================================== -->
        <!-- This repository is synchronized with Maven Central. Yet it may  -->
        <!-- happen that artifacts recently deployed in ow2.release are      -->
        <!-- needed, while not being already available in Maven Central.     -->
        <!-- This is the case for Juliac/Tinfi releases.                     --> 
        <!-- =============================================================== -->
        <repository>
              <id>ow2.release</id>
              <name>OW2 Release Repository</name>
              <url>http://repository.ow2.org/nexus/content/repositories/releases</url>
              <releases><enabled>true</enabled></releases>
              <snapshots><enabled>false</enabled></snapshots>
        </repository>
        
        <repository>
            <id>gforge.inria.fr-snapshot</id>
            <name>Maven Repository for Spoon Snapshot</name>
            <url>http://spoon.gforge.inria.fr/repositories/snapshots/</url>
              <releases><enabled>false</enabled></releases>
              <snapshots><enabled>true</enabled></snapshots>
        </repository>
97

98 99 100 101 102 103 104 105
        <repository>
            <id>frascati-nexus-ow2</id>
            <name>Replacement for FraSCAti Nexus OW2 no longer available</name>
            <url>http://cristal.univ-lille.fr/~seinturi/repository/releases/</url>
            <releases><enabled>true</enabled></releases>
            <snapshots><enabled>false</enabled></snapshots>
        </repository>

Lionel Seinturier's avatar
Lionel Seinturier committed
106
    </repositories>
107

Lionel Seinturier's avatar
Lionel Seinturier committed
108
      <pluginRepositories>
109

Lionel Seinturier's avatar
Lionel Seinturier committed
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
        <!-- =============================================================== -->
        <!-- This repository is synchronized with Maven Central. Yet between -->
        <!-- it may happen that artifacts recently deployed in ow2.release   -->
        <!-- are needed, while not being already available in Maven Central. -->
        <!-- This is the case for Juliac/Tinfi releases.                     --> 
        <!-- =============================================================== -->
        <pluginRepository>
              <id>ow2.plugin.release</id>
              <name>OW2 Release Repository</name>
              <url>http://repository.ow2.org/nexus/content/repositories/releases</url>
              <releases><enabled>true</enabled></releases>
              <snapshots><enabled>false</enabled></snapshots>
        </pluginRepository>
        
    </pluginRepositories>
125

126

127 128 129 130
    <!-- ========== -->
    <!-- Properties -->
    <!-- ========== -->
    
Lionel Seinturier's avatar
Lionel Seinturier committed
131 132 133 134 135 136
    <properties>
        <fraclet.version>3.3</fraclet.version>
        <julia.version>2.5.2</julia.version>
        <koch.version>2.5.2.4</koch.version>
        <juliac.version>2.7-SNAPSHOT</juliac.version>
    </properties>
137

138

Lionel Seinturier's avatar
Lionel Seinturier committed
139 140 141
    <!-- ======================= -->
    <!-- Dependencies management -->
    <!-- ======================= -->
142

Lionel Seinturier's avatar
Lionel Seinturier committed
143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.objectweb.fractal</groupId>
                <artifactId>fractal-api</artifactId>
                <version>2.0.2</version>
            </dependency>
            <dependency>
                <groupId>org.objectweb.fractal</groupId>
                <artifactId>fractal-util</artifactId>
                <version>1.1.2</version>
            </dependency>
            <dependency>
                <groupId>org.oasis-open.sca.j</groupId>
                <artifactId>sca-caa-apis</artifactId>
                <version>1.1-CD04</version>
            </dependency>
160
            <dependency>
161
                <groupId>org.ow2.frascati.model</groupId>
162
                <artifactId>osoa-java-api</artifactId>
163
                <version>2.0.1.3</version>
164
            </dependency>
Lionel Seinturier's avatar
Lionel Seinturier committed
165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182
            <dependency>
                <groupId>org.objectweb.fractal.fraclet.java</groupId>
                <artifactId>fraclet-annotations</artifactId>
                <version>${fraclet.version}</version>
            </dependency>
            <dependency>
                <groupId>aopalliance</groupId>
                <artifactId>aopalliance</artifactId>
                <version>1.0</version>
            </dependency>
            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <version>4.6</version>
                <scope>test</scope>
            </dependency>
        </dependencies>   
    </dependencyManagement>
183

184
      
185 186 187 188
    <!-- ======= -->
    <!-- Modules -->
    <!-- ======= -->
    
Lionel Seinturier's avatar
Lionel Seinturier committed
189
    <modules>
190
        <module>runtime</module>
Lionel Seinturier's avatar
Lionel Seinturier committed
191 192 193 194 195
        <module>mixins</module>
        <module>module</module>
        <module>all</module>
        <module>extension</module>
    </modules>
196

197

Lionel Seinturier's avatar
Lionel Seinturier committed
198 199 200
    <!-- ===== -->
    <!-- Build -->
    <!-- ===== -->    
201

Lionel Seinturier's avatar
Lionel Seinturier committed
202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225
    <build>
        <plugins>
        
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.3.2</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>
            
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-release-plugin</artifactId>
                <configuration>
                    <tagBase>svn+ssh://svn.forge.objectweb.org/svnroot/frascati/tags/tinfi/</tagBase>
                </configuration>
            </plugin>
            
            <!-- ================= -->
            <!-- Source packaging  -->
            <!-- ================= -->
Lionel Seinturier's avatar
Lionel Seinturier committed
226
            <plugin>
Lionel Seinturier's avatar
Lionel Seinturier committed
227
                <groupId>org.apache.maven.plugins</groupId>
228 229 230 231
                <artifactId>maven-source-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>package</phase>
232
                        <goals><goal>jar-no-fork</goal></goals>
233 234
                    </execution>
                </executions>        
Lionel Seinturier's avatar
Lionel Seinturier committed
235
            </plugin>
236

Lionel Seinturier's avatar
Lionel Seinturier committed
237
        </plugins>
Lionel Seinturier's avatar
Lionel Seinturier committed
238

Lionel Seinturier's avatar
Lionel Seinturier committed
239 240 241 242 243 244
        <!-- ================= -->
        <!-- Plugin management -->
        <!-- ================= -->
    
        <pluginManagement>
            <plugins>
Lionel Seinturier's avatar
Lionel Seinturier committed
245 246 247 248 249
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-dependency-plugin</artifactId>
                    <version>2.10</version>
                </plugin>
Lionel Seinturier's avatar
Lionel Seinturier committed
250 251 252
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-source-plugin</artifactId>
253
                    <version>3.0.1</version>
Lionel Seinturier's avatar
Lionel Seinturier committed
254
                </plugin>
255 256 257 258 259
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>exec-maven-plugin</artifactId>
                    <version>1.6.0</version>
                </plugin>
Lionel Seinturier's avatar
Lionel Seinturier committed
260 261
            </plugins>
        </pluginManagement>
Lionel Seinturier's avatar
Lionel Seinturier committed
262

Lionel Seinturier's avatar
Lionel Seinturier committed
263
    </build>
264

265 266 267 268 269

    <!-- ======== -->
    <!-- Profiles -->
    <!-- ======== -->
    
Lionel Seinturier's avatar
Lionel Seinturier committed
270 271
    <profiles>
    
272 273 274 275 276 277 278 279
        <!-- ======================================================== -->
        <!-- Profile for deploying Tinfi                              -->
        <!-- ======================================================== -->
        <profile>
            <id>tinfi:deploy</id>
            <build>
                <defaultGoal>deploy</defaultGoal>
                <plugins>
Lionel Seinturier's avatar
Lionel Seinturier committed
280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296
                    <!-- ================== -->
                    <!-- Javadoc packaging  -->
                    <!-- ================== -->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                        <executions>
                            <execution>
                                <phase>package</phase>
                                <goals><goal>jar</goal></goals>
                            </execution>
                        </executions>        
                        <configuration>
                            <windowtitle>OW2 FraSCATi Tinfi ${project.version}</windowtitle>
                            <doctitle>OW2 FraSCATi Tinfi ${project.version}</doctitle>
                        </configuration>
                    </plugin>        
297 298 299 300
                </plugins>
            </build>
        </profile>

301
        <!-- ======================================================== -->
302
        <!-- Profile for examples                                     -->
303 304
        <!-- ======================================================== -->
        <profile>
305
            <id>tinfi:examples</id>
Lionel Seinturier's avatar
Lionel Seinturier committed
306 307 308
            <modules>
                <module>examples</module>
            </modules>
309 310
        </profile>

311 312 313 314 315 316 317 318 319 320 321 322 323
        <!-- ======================================================== -->
        <!-- Profile for lauching an application hosted by Tinfi      -->
        <!-- ======================================================== -->
        <profile>
            <id>tinfi:run</id>
            <build>
                <defaultGoal>compile</defaultGoal>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>exec-maven-plugin</artifactId>
                        <executions>
                            <execution>
324
                                <goals><goal>java</goal></goals>
325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351
                                <phase>compile</phase>
                            </execution>
                        </executions>
                        <configuration>
                            <mainClass>org.objectweb.fractal.juliac.runtime.Launcher</mainClass>
                            <systemProperties>
                                <systemProperty>
                                    <key>fractal.provider</key>
                                    <value>org.objectweb.fractal.juliac.runtime.Juliac</value>
                                </systemProperty>
                            </systemProperties>
                            <arguments>
                                <argument>${tinfi.run.component}</argument>
                                <argument>${tinfi.run.interface}</argument>
                            </arguments>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
            <dependencies>
                <dependency>
                    <groupId>org.ow2.frascati.tinfi</groupId>
                    <artifactId>frascati-tinfi-runtime</artifactId>
                    <version>${project.version}</version>
                </dependency>
            </dependencies>
        </profile>
Lionel Seinturier's avatar
Lionel Seinturier committed
352 353
    </profiles>
    
354
</project>