pom.xml 20.3 KB
Newer Older
1
<?xml version="1.0"?>
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
<!--
 * OW2 FraSCAti Nuxeo
 * Copyright (c) 2012 Inria, University of Lille 1
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 * Contact: frascati@ow2.org
 *
 * Author: Christophe Munilla
 *
 * Contributor(s): 
 *
 -->
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
<project
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
  xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.ow2.frascati.nuxeo</groupId>
    <artifactId>parent</artifactId>
    <version>1.5-SNAPSHOT</version>
  </parent>

  <artifactId>frascati-nuxeo</artifactId>
  <name>OW2 FraSCAti in Nuxeo Module</name>

  <properties>
  	<eclipse-jetty.version>7.4.5.v20110725</eclipse-jetty.version>
  	<mortbay-jetty.version>6.1.26</mortbay-jetty.version>
  </properties>
  
  <dependencies>
    <dependency>
      <groupId>org.ow2.frascati.nuxeo</groupId>
      <artifactId>frascati-isolated</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
       <groupId>org.ow2.frascati.nuxeo</groupId>
       <artifactId>frascati-nuxeo-service-api</artifactId>
       <version>${project.version}</version>
       <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.nuxeo.runtime</groupId>
      <artifactId>nuxeo-runtime-bridge</artifactId>
      <version>5.5-SNAPSHOT</version>
      <scope>provided</scope>
63 64 65 66 67 68
      <exclusions>
      	<exclusion>
      		<groupId>org.osgi</groupId>
      		<artifactId>osgi-core</artifactId>
      	</exclusion>
      </exclusions>
69 70 71 72 73 74
    </dependency>
    <dependency>
      <groupId>org.nuxeo.runtime</groupId>
      <artifactId>nuxeo-runtime-test</artifactId>
      <version>5.5</version>
      <scope>provided</scope>
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
      <exclusions>
      	<exclusion>
      		<groupId>org.seleniumhq.selenium</groupId>
      		<artifactId>selenium-server-standalone</artifactId>
      	</exclusion>
      	<exclusion>
      		<groupId>org.milyn</groupId>
      		<artifactId>milyn-magger</artifactId>
      	</exclusion>
      	<exclusion>
      		<groupId>org.milyn</groupId>
      		<artifactId>flute</artifactId>
      	</exclusion>
      	<exclusion>
      		<groupId>com.sun.xml</groupId>
      		<artifactId>xsom</artifactId>
      	</exclusion>
      	<exclusion>
      		<groupId>org.osgi</groupId>
      		<artifactId>osgi-core</artifactId>
      	</exclusion>
      </exclusions>
97 98
    </dependency>
    <dependency>
99 100 101
    	<groupId>org.osgi</groupId>
    	<artifactId>org.osgi.core</artifactId>
    	<version>4.2.0</version>
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 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 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 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336
    </dependency>
     <!-- TEST DEPENDENCIES-->
     <dependency>
     	<groupId>junit</groupId>
     	<artifactId>junit</artifactId>
     	<version>4.7</version>
     	<scope>provided</scope>
     </dependency>
     <dependency>
         <groupId>org.apache.cxf</groupId>
         <artifactId>cxf-api</artifactId>
         <version>${cxf.version}</version>
         <scope>test</scope>
     </dependency>
     <dependency>
         <groupId>org.apache.cxf</groupId>
         <artifactId>cxf-common-utilities</artifactId>
         <version>${cxf.version}</version>
         <scope>test</scope>
     </dependency>
     <dependency>
         <groupId>org.apache.cxf</groupId>
         <artifactId>cxf-rt-bindings-soap</artifactId>
         <version>${cxf.version}</version>
         <scope>test</scope>
     </dependency>
     <dependency>
         <groupId>org.apache.cxf</groupId>
         <artifactId>cxf-rt-bindings-xml</artifactId>
         <version>${cxf.version}</version>
         <scope>test</scope>
     </dependency>
     <dependency>
         <groupId>org.apache.cxf</groupId>
         <artifactId>cxf-rt-core</artifactId>
         <version>${cxf.version}</version>
         <scope>test</scope>
     </dependency>
     <dependency>
         <groupId>org.apache.cxf</groupId>
         <artifactId>cxf-rt-databinding-aegis</artifactId>
         <version>${cxf.version}</version>
         <scope>test</scope>
     </dependency>
     <dependency>
         <groupId>org.apache.cxf</groupId>
         <artifactId>cxf-rt-transports-common</artifactId>
         <version>${cxf.version}</version>
         <scope>test</scope>
     </dependency>
     <dependency>
         <groupId>org.apache.cxf</groupId>
         <artifactId>cxf-rt-frontend-simple</artifactId>
         <version>${cxf.version}</version>
         <scope>test</scope>
     </dependency>
     <dependency>
         <groupId>org.apache.cxf</groupId>
         <artifactId>cxf-rt-frontend-jaxws</artifactId>
         <version>${cxf.version}</version>
         <scope>test</scope>
     </dependency>
     <dependency>
         <groupId>org.apache.cxf</groupId>
         <artifactId>cxf-rt-frontend-jaxrs</artifactId>
         <version>${cxf.version}</version>
         <scope>test</scope>
     </dependency>
     <dependency>
         <groupId>org.apache.cxf</groupId>
         <artifactId>cxf-rt-databinding-jaxb</artifactId>
         <version>${cxf.version}</version>
         <scope>test</scope>
     </dependency>
     <dependency>
         <groupId>org.apache.cxf</groupId>
         <artifactId>cxf-rt-transports-http</artifactId>
         <version>${cxf.version}</version>
         <scope>test</scope>
     </dependency>
     <dependency>
         <groupId>org.apache.cxf</groupId>
         <artifactId>cxf-rt-transports-http-jetty</artifactId>
         <version>${cxf.version}</version>
         <scope>test</scope>
     </dependency>
     <dependency>
         <groupId>org.apache.cxf</groupId>
         <artifactId>cxf-rt-ws-addr</artifactId>
         <version>${cxf.version}</version>
         <scope>test</scope>
     </dependency>
     <dependency>
         <groupId>org.apache.cxf</groupId>
         <artifactId>cxf-tools-common</artifactId>
         <version>${cxf.version}</version>
         <scope>test</scope>
     </dependency>
     <dependency>
         <groupId>org.apache.cxf</groupId>
         <artifactId>cxf-tools-validator</artifactId>
         <version>${cxf.version}</version>
         <scope>test</scope>
     </dependency>
     <dependency>
         <groupId>org.apache.cxf</groupId>
         <artifactId>cxf-tools-wsdlto-core</artifactId>
         <version>${cxf.version}</version>
         <scope>test</scope>
     </dependency>
     <dependency>
         <groupId>org.apache.cxf</groupId>
         <artifactId>cxf-tools-wsdlto-databinding-jaxb</artifactId>
         <version>${cxf.version}</version>
         <scope>test</scope>
     </dependency>
     <dependency>
         <groupId>org.apache.cxf</groupId>
         <artifactId>cxf-tools-wsdlto-frontend-jaxws</artifactId>
         <version>${cxf.version}</version>
         <scope>test</scope>
     </dependency>
     <dependency>
         <groupId>org.mortbay.jetty</groupId>
         <artifactId>jetty</artifactId>
         <version>${mortbay-jetty.version}</version>
         <scope>test</scope>
     </dependency>
     <dependency>
         <groupId>org.mortbay.jetty</groupId>
         <artifactId>jetty-util</artifactId>
         <version>${mortbay-jetty.version}</version>
         <scope>test</scope>
     </dependency>
     <dependency>
         <groupId>org.eclipse.jetty</groupId>
         <artifactId>jetty-continuation</artifactId>
         <version>${eclipse-jetty.version}</version>
         <scope>test</scope>
     </dependency>
     <dependency>
         <groupId>org.eclipse.jetty</groupId>
         <artifactId>jetty-http</artifactId>
         <version>${eclipse-jetty.version}</version>
         <scope>test</scope>
     </dependency>
     <dependency>
         <groupId>org.eclipse.jetty</groupId>
         <artifactId>jetty-io</artifactId>
         <version>${eclipse-jetty.version}</version>
         <scope>test</scope>
     </dependency>
     <dependency>
         <groupId>org.eclipse.jetty</groupId>
         <artifactId>jetty-security</artifactId>
         <version>${eclipse-jetty.version}</version>
         <scope>test</scope>
     </dependency>
     <dependency>
         <groupId>org.eclipse.jetty</groupId>
         <artifactId>jetty-server</artifactId>
         <version>${eclipse-jetty.version}</version>
         <scope>test</scope>
     </dependency>
     <dependency>
         <groupId>org.eclipse.jetty</groupId>
         <artifactId>jetty-util</artifactId>
         <version>${eclipse-jetty.version}</version>
         <scope>test</scope>
     </dependency>
  </dependencies>

  <build>
    <plugins>
      <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-antrun-plugin</artifactId>
          <version>1.1</version>
          <executions>
              <execution>
                  <id>default-clean</id>
                  <phase>clean</phase>
                  <configuration>
                      <tasks>
                          <delete dir="resources/frascati/lib" includeemptydirs="true"/>
                      </tasks>
                  </configuration>
                  <goals>
                      <goal>run</goal>
                  </goals>
              </execution>
          </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <executions>
          <execution>
            <id>copy-frascati-resources</id>
            <phase>generate-resources</phase>
            <goals>
              <goal>copy</goal>
            </goals>
            <configuration>
              <outputDirectory>${project.basedir}/resources/frascati/lib</outputDirectory>
              <stripVersion>false</stripVersion>
              <failBuild>true</failBuild>
              <failOnMissingClassifierArtifact>true</failOnMissingClassifierArtifact>
              <failOnWarning>true</failOnWarning>
 			  <artifactItems>
 					<artifactItem><groupId>asm</groupId><artifactId>asm</artifactId><version>3.1</version></artifactItem>
					<artifactItem><groupId>asm</groupId><artifactId>asm-util</artifactId><version>3.1</version></artifactItem>
					<artifactItem><groupId>asm</groupId><artifactId>asm-tree</artifactId><version>3.1</version></artifactItem>
					<artifactItem><groupId>asm</groupId><artifactId>asm-analysis</artifactId><version>3.1</version></artifactItem>
					<artifactItem><groupId>org.eclipse.jdt</groupId><artifactId>core</artifactId><version>3.3.0.771</version></artifactItem>
					<artifactItem><groupId>org.oasis-open.sca.j</groupId><artifactId>sca-caa-apis</artifactId><version>1.1-CD04</version></artifactItem>
					<artifactItem><groupId>org.eclipse.emf</groupId><artifactId>ecore</artifactId><version>2.4.0</version></artifactItem>
					<artifactItem><groupId>org.eclipse.core</groupId><artifactId>runtime</artifactId><version>3.4.0</version></artifactItem>
					<artifactItem><groupId>org.eclipse.equinox</groupId><artifactId>common</artifactId><version>3.4.0</version></artifactItem>
					<artifactItem><groupId>org.eclipse.emf.ecore</groupId><artifactId>xmi</artifactId><version>2.4.0</version></artifactItem>
					<artifactItem><groupId>org.eclipse.emf</groupId><artifactId>common</artifactId><version>2.4.0</version></artifactItem>
					<artifactItem><groupId>dtdparser</groupId><artifactId>dtdparser</artifactId><version>1.21</version></artifactItem>
					<artifactItem><groupId>aopalliance</groupId><artifactId>aopalliance</artifactId><version>1.0</version></artifactItem>
					<artifactItem><groupId>com.google.guava</groupId><artifactId>guava</artifactId><version>r07</version></artifactItem>
					<artifactItem><groupId>org.objectweb.monolog</groupId><artifactId>monolog</artifactId><version>1.8</version></artifactItem>
					<artifactItem><groupId>org.objectweb.monolog</groupId><artifactId>monolog-api</artifactId><version>1.8</version></artifactItem>
					<artifactItem><groupId>org.objectweb.fractal</groupId><artifactId>fractal-api</artifactId><version>2.0.2</version></artifactItem>
					<artifactItem><groupId>org.objectweb.fractal</groupId><artifactId>fractal-util</artifactId><version>1.1.2</version></artifactItem>
					<artifactItem><groupId>org.objectweb.fractal.juliac</groupId><artifactId>juliac-runtime</artifactId><version>2.4</version></artifactItem>
					<artifactItem><groupId>org.objectweb.fractal.juliac</groupId><artifactId>juliac-oo</artifactId><version>2.4</version></artifactItem>
					<artifactItem><groupId>org.objectweb.fractal.julia</groupId><artifactId>julia-runtime</artifactId><version>2.5.2</version></artifactItem>
					<artifactItem><groupId>org.objectweb.fractal.juliac</groupId><artifactId>juliac-core</artifactId><version>2.4</version></artifactItem>
					<artifactItem><groupId>org.objectweb.fractal.juliac</groupId><artifactId>juliac-jdt</artifactId><version>2.4</version></artifactItem>
					<artifactItem><groupId>org.objectweb.fractal.julia</groupId><artifactId>julia-mixins</artifactId><version>2.5.2</version></artifactItem>
					<artifactItem><groupId>org.objectweb.fractal.julia</groupId><artifactId>julia-asm</artifactId><version>2.5.2</version></artifactItem>
Philippe Merle's avatar
Philippe Merle committed
337 338
					<artifactItem><groupId>org.ow2.fractal.bf</groupId><artifactId>fractal-bf-core</artifactId><version>0.10-SNAPSHOT</version></artifactItem>
					<artifactItem><groupId>org.ow2.fractal.bf.connectors</groupId><artifactId>fractal-bf-connectors-common</artifactId><version>0.10-SNAPSHOT</version></artifactItem>
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366
					<artifactItem><groupId>org.objectweb.fractal.fraclet.java</groupId><artifactId>fraclet-annotations</artifactId><version>3.3</version></artifactItem>
					<artifactItem><groupId>org.objectweb.fractal.fractaladl</groupId><artifactId>fractal-adl</artifactId><version>2.3.1</version></artifactItem>
					<artifactItem><groupId>org.objectweb.fractal.fractaladl</groupId><artifactId>ast-core</artifactId><version>2.3.1</version></artifactItem>
					<artifactItem><groupId>org.objectweb.fractal.fractaladl</groupId><artifactId>task-framework</artifactId><version>2.3.1</version></artifactItem>
					<artifactItem><groupId>org.objectweb.fractal.fractaladl</groupId><artifactId>task-deployment</artifactId><version>2.3.1</version></artifactItem>
					<artifactItem><groupId>org.ow2.frascati</groupId><artifactId>frascati-runtime-factory</artifactId><version>${project.version}</version></artifactItem>
					<artifactItem><groupId>org.ow2.frascati</groupId><artifactId>frascati-assembly-factory</artifactId><version>${project.version}</version></artifactItem>
					<artifactItem><groupId>org.ow2.frascati</groupId><artifactId>frascati-sca-parser</artifactId><version>${project.version}</version></artifactItem>
					<artifactItem><groupId>org.ow2.frascati</groupId><artifactId>frascati-component-factory</artifactId><version>${project.version}</version></artifactItem>
					<artifactItem><groupId>org.ow2.frascati</groupId><artifactId>frascati-component-factory-tinfi-oo</artifactId><version>${project.version}</version></artifactItem>
					<artifactItem><groupId>org.ow2.frascati</groupId><artifactId>frascati-component-factory-juliac-jdt</artifactId><version>${project.version}</version></artifactItem>
					<artifactItem><groupId>org.ow2.frascati</groupId><artifactId>frascati-component-factory-juliac</artifactId><version>${project.version}</version></artifactItem>
					<artifactItem><groupId>org.ow2.frascati</groupId><artifactId>frascati-component-factory-juliac-tinfi-oo</artifactId><version>${project.version}</version></artifactItem>
					<artifactItem><groupId>org.ow2.frascati</groupId><artifactId>frascati-metamodel-frascati</artifactId><version>${project.version}</version></artifactItem>
					<artifactItem><groupId>org.ow2.frascati</groupId><artifactId>frascati-util</artifactId><version>${project.version}</version></artifactItem>
					<artifactItem><groupId>org.ow2.frascati</groupId><artifactId>frascati-binding-factory</artifactId><version>${project.version}</version></artifactItem>
					<artifactItem><groupId>org.ow2.frascati.tinfi</groupId><artifactId>frascati-tinfi-oo</artifactId><version>1.4.4</version></artifactItem>
					<artifactItem><groupId>org.ow2.frascati.tinfi</groupId><artifactId>frascati-tinfi-runtime</artifactId><version>1.4.4</version></artifactItem>
					<artifactItem><groupId>org.ow2.frascati.tinfi</groupId><artifactId>frascati-tinfi-runtime-api</artifactId><version>1.4.4</version></artifactItem>
					<artifactItem><groupId>org.ow2.frascati.tinfi</groupId><artifactId>frascati-tinfi-mixins</artifactId><version>1.4.4</version></artifactItem>
					<artifactItem><groupId>org.ow2.frascati.tinfi</groupId><artifactId>frascati-tinfi-membranes-oo</artifactId><version>1.4.4</version></artifactItem>
					<artifactItem><groupId>org.ow2.frascati.model</groupId><artifactId>sca-model-introspection</artifactId><version>2.0.1.3</version></artifactItem>
					<artifactItem><groupId>org.ow2.frascati.model</groupId><artifactId>osoa-java-api</artifactId><version>2.0.1.3</version></artifactItem>
					<artifactItem><groupId>org.ow2.frascati.model</groupId><artifactId>sca-model</artifactId><version>2.0.1.3</version></artifactItem>
					<artifactItem><groupId>org.ow2.frascati.model</groupId><artifactId>tuscany-model</artifactId><version>2.0.1.3</version></artifactItem>
					<artifactItem><groupId>org.ow2.frascati.model</groupId><artifactId>frascati-model</artifactId><version>2.0.1.3</version></artifactItem>	
					<artifactItem><groupId>org.ow2.frascati.nuxeo</groupId><artifactId>frascati-nuxeo-service</artifactId><version>${project.version}</version></artifactItem>
					<artifactItem><groupId>org.ow2.frascati.osgi</groupId><artifactId>frascati-starter</artifactId><version>${project.version}</version></artifactItem>
367 368
					<artifactItem><groupId>org.ow2.frascati.osgi</groupId><artifactId>frascati-osgi-util</artifactId><version>${project.version}</version></artifactItem>
					<artifactItem><groupId>org.ow2.frascati.nuxeo</groupId><artifactId>frascati-metamodel-nuxeo</artifactId><version>${project.version}</version></artifactItem>
369 370 371 372
 					<!--FOR TEST ARTIFACTS -->
 					<artifactItem><groupId>org.ow2.frascati</groupId><artifactId>frascati-binding-http</artifactId><version>${project.version}</version></artifactItem>
					<artifactItem><groupId>org.ow2.frascati</groupId><artifactId>frascati-binding-ws</artifactId><version>${project.version}</version></artifactItem>
					<artifactItem><groupId>org.ow2.frascati</groupId><artifactId>frascati-servlet-cxf</artifactId><version>${project.version}</version></artifactItem>
Philippe Merle's avatar
Philippe Merle committed
373
 					<artifactItem><groupId>org.ow2.fractal.bf.connectors</groupId><artifactId>fractal-bf-connectors-soap-cxf</artifactId><version>0.10-SNAPSHOT</version></artifactItem>
374
 					
375 376 377 378 379 380 381 382 383 384
 				</artifactItems>              
            </configuration>
          </execution>
          <execution>
            <id>copy-frascati-test-resources</id>
            <phase>generate-test-resources</phase>
            <goals>
              <goal>copy</goal>
            </goals>
            <configuration>
385
              <outputDirectory>${project.basedir}/target/test-classes</outputDirectory>
386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415
              <stripVersion>true</stripVersion>
              <failBuild>true</failBuild>
              <failOnMissingClassifierArtifact>true</failOnMissingClassifierArtifact>
              <failOnWarning>true</failOnWarning>
 			  <artifactItems>
 					<!-- TEST ARTIFACTS -->
 					<artifactItem>
	 					<groupId>org.ow2.frascati.examples</groupId>
	 					<artifactId>helloworld-ws-server</artifactId>
	 					<version>${project.version}</version>
 					</artifactItem>
 					<artifactItem>
	 					<groupId>org.ow2.frascati.examples</groupId>
	 					<artifactId>helloworld-pojo</artifactId>
	 					<version>${project.version}</version>
 					</artifactItem>
					<artifactItem>
						<groupId>org.ow2.frascati.examples</groupId>
						<artifactId>frascati-helloworld-servlet</artifactId>
	 					<version>${project.version}</version>
					</artifactItem>
 				</artifactItems>              
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

</project>