pom.xml 11.8 KB
Newer Older
1 2 3 4 5 6 7 8
<?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">
  
	<modelVersion>4.0.0</modelVersion>
	
	<groupId>org.ow2.frascati.tinfi</groupId>
	<artifactId>frascati-tinfi-parent</artifactId>
	<packaging>pom</packaging>
9
	<version>1.6-SNAPSHOT</version>
10 11 12 13 14

	<name>Tinfi</name>
	<url>http://frascati.ow2.org</url>
	<inceptionYear>2007</inceptionYear>

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

22 23 24 25 26
	<developers>
        <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
  
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
  	<repositories>

  		<repository>
      		<id>frascati-repo</id>
      		<name>FraSCAti Nexus repository</name>
      		<url>https://frascati-repo.inria.fr/nexus/content/groups/public</url>
      		<releases><enabled>true</enabled></releases>
      		<snapshots><enabled>true</enabled></snapshots>
    	</repository>

	    <!-- =============================================================== -->
    	<!-- 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>

	    <!-- =============================================================== -->
85 86 87
		<!-- 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.     -->
88 89 90 91 92 93 94 95 96 97
		<!-- 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>
    	
98 99 100 101 102 103 104 105
		<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>

106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
	</repositories>

  	<pluginRepositories>

	    <!-- =============================================================== -->
		<!-- 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>

126

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

138

139 140 141
	<!-- ======================= -->
	<!-- Dependencies management -->
	<!-- ======================= -->
142

143 144 145
	<dependencyManagement>
		<dependencies>
			<dependency>
146 147 148 149 150 151 152 153
				<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>
154 155
			</dependency>
			<dependency>
156 157 158 159
				<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>
165 166 167
			<dependency>
		        <groupId>org.objectweb.fractal.fraclet.java</groupId>
			    <artifactId>fraclet-annotations</artifactId>
168
		        <version>${fraclet.version}</version>
169
			</dependency>
170 171 172 173 174 175 176 177 178 179
	        <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>
180 181 182 183
			</dependency>
		</dependencies>   
	</dependencyManagement>

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

197

198 199 200
	<!-- ===== -->
	<!-- Build -->
	<!-- ===== -->    
201

202 203
	<build>
		<plugins>
204
		
205 206 207
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
208
				<version>2.3.2</version>
209
				<configuration>
Lionel Seinturier's avatar
Lionel Seinturier committed
210 211
					<source>1.6</source>
					<target>1.6</target>
212 213
				</configuration>
			</plugin>
214
			
215 216 217 218
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
				<configuration>
219
					<tagBase>svn+ssh://svn.forge.objectweb.org/svnroot/frascati/tags/tinfi/</tagBase>
220 221
				</configuration>
			</plugin>
222 223 224 225
			
			<!-- ================= -->
			<!-- Source packaging  -->
			<!-- ================= -->
Lionel Seinturier's avatar
Lionel Seinturier committed
226 227
            <plugin>
				<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

237
		</plugins>
Lionel Seinturier's avatar
Lionel Seinturier committed
238 239 240 241 242 243 244 245 246 247 248 249 250 251 252

		<!-- ================= -->
		<!-- Plugin management -->
		<!-- ================= -->
	
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-source-plugin</artifactId>
					<version>2.4</version>
				</plugin>
			</plugins>
		</pluginManagement>

253 254
	</build>

255 256 257 258 259

    <!-- ======== -->
    <!-- Profiles -->
    <!-- ======== -->
    
260
	<profiles>
261
	
262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290
        <!-- ======================================================== -->
        <!-- Profile for deploying Tinfi                              -->
        <!-- ======================================================== -->
        <profile>
            <id>tinfi:deploy</id>
            <build>
                <defaultGoal>deploy</defaultGoal>
                <plugins>
					<!-- ================== -->
					<!-- 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>		
                </plugins>
            </build>
        </profile>

291
        <!-- ======================================================== -->
292
        <!-- Profile for examples                                     -->
293 294
        <!-- ======================================================== -->
        <profile>
295
            <id>tinfi:examples</id>
296 297 298 299 300
			<modules>
				<module>examples</module>
			</modules>
        </profile>

301 302 303 304 305 306 307 308 309 310 311
        <!-- ======================================================== -->
        <!-- 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>
Christophe Demarey's avatar
Christophe Demarey committed
312
                        <version>1.2.1</version>
313 314
                        <executions>
                            <execution>
315
                                <goals><goal>java</goal></goals>
316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345
                                <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>
	</profiles>
	
</project>