pom.xml 10.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.4.6-SNAPSHOT</version>
10 11 12 13 14

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

15 16 17 18 19 20
	<parent>
		<groupId>org.ow2</groupId>
		<artifactId>ow2</artifactId>
		<version>1.3</version>
	</parent>

21 22 23 24 25
	<developers>
        <developer>
            <id>seinturier</id>
            <name>Lionel Seinturier</name>
            <email>Lionel.Seinturier@univ-lille1.fr</email>
26
            <organization>Univ. Lille 1</organization>
27 28 29 30 31 32 33 34 35 36
            <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>
37
            <organization>Inria</organization>
38 39 40 41 42 43 44 45
            <organizationUrl>http://www.inria.fr</organizationUrl>
            <roles>
              <role>Developer</role>
           </roles>
        </developer>
    </developers>

    <scm>
46 47 48
      <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>
49 50 51
    </scm>
    
    <ciManagement>
52 53
      <system>jenkins</system>
      <url>http://ci.lille.inria.fr/frascati</url>
54
    </ciManagement>
55

56
  
57 58 59
    <!-- ============= -->
    <!-- Repositories  -->
    <!-- ============= -->
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 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
  	<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>

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

122

123 124 125 126 127
    <!-- ========== -->
    <!-- Properties -->
    <!-- ========== -->
    
	<properties>
Lionel Seinturier's avatar
Lionel Seinturier committed
128
		<fraclet.version>3.3</fraclet.version>
129
		<julia.version>2.5.2</julia.version>
130
		<koch.version>2.5.2.3</koch.version>
131
		<juliac.version>2.5.1</juliac.version>
132
		<scala.version>2.9.1</scala.version>
133 134
	</properties>

135

136 137 138
	<!-- ======================= -->
	<!-- Dependencies management -->
	<!-- ======================= -->
139

140 141 142
	<dependencyManagement>
		<dependencies>
			<dependency>
143 144 145 146 147 148 149 150
				<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>
151 152
			</dependency>
			<dependency>
153 154 155 156
				<groupId>org.oasis-open.sca.j</groupId>
				<artifactId>sca-caa-apis</artifactId>
				<version>1.1-CD04</version>
			</dependency>
157
            <dependency>
158
                <groupId>org.ow2.frascati.model</groupId>
159
                <artifactId>osoa-java-api</artifactId>
160
                <version>2.0.1.3</version>
161
            </dependency>
162 163 164
			<dependency>
		        <groupId>org.objectweb.fractal.fraclet.java</groupId>
			    <artifactId>fraclet-annotations</artifactId>
165
		        <version>${fraclet.version}</version>
166
			</dependency>
167 168 169 170 171 172 173 174 175 176
	        <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>
177 178 179 180
			</dependency>
		</dependencies>   
	</dependencyManagement>

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

195

196 197 198
	<!-- ===== -->
	<!-- Build -->
	<!-- ===== -->    
199

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

			<!-- ================== -->
			<!-- Javadoc packaging  -->
			<!-- ================== -->
237
            <!-- plugin>
238 239 240 241 242 243 244 245 246 247 248 249
                <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>
250
            </plugin -->
251

252 253 254
		</plugins>
	</build>

255 256 257 258 259

    <!-- ======== -->
    <!-- Profiles -->
    <!-- ======== -->
    
260
	<profiles>
261 262 263 264 265 266 267 268 269 270 271 272
	
        <!-- ======================================================== -->
        <!-- Profile for tests and examples                           -->
        <!-- ======================================================== -->
        <profile>
            <id>tinfi:tests</id>
			<modules>
				<module>tests</module>
				<module>examples</module>
			</modules>
        </profile>

273 274 275 276 277 278 279 280 281 282 283
        <!-- ======================================================== -->
        <!-- 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
284
                        <version>1.2.1</version>
285 286
                        <executions>
                            <execution>
287
                                <goals><goal>java</goal></goals>
288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317
                                <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>