diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2011-04-06 22:03:35 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2011-04-06 22:03:35 +0000 |
commit | 6d685c8e138af8d18bc71181ec630ccb9a17bdd9 (patch) | |
tree | 75276a59fe0a20761ea59ed312adaeb0a9006c81 /sca-java-1.x/tags/1.6.2-RC1/itest/wsdlgen/pom.xml | |
parent | a6eaa1356a4db131566cfe7f7e4c3fe81a0ad0b6 (diff) |
Tag for 1.6.2-RC1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1089647 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/tags/1.6.2-RC1/itest/wsdlgen/pom.xml')
-rw-r--r-- | sca-java-1.x/tags/1.6.2-RC1/itest/wsdlgen/pom.xml | 280 |
1 files changed, 280 insertions, 0 deletions
diff --git a/sca-java-1.x/tags/1.6.2-RC1/itest/wsdlgen/pom.xml b/sca-java-1.x/tags/1.6.2-RC1/itest/wsdlgen/pom.xml new file mode 100644 index 0000000000..a3ededd668 --- /dev/null +++ b/sca-java-1.x/tags/1.6.2-RC1/itest/wsdlgen/pom.xml @@ -0,0 +1,280 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +--> +<project> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-sca</artifactId> + <version>1.6.2</version> + <relativePath>../../pom.xml</relativePath> + </parent> + <artifactId>itest-wsdlgen</artifactId> + <name>Apache Tuscany SCA iTest runtime WSDL generation</name> + + <repositories> + <repository> + <id>apache.incubator</id> + <url>http://people.apache.org/repo/m2-incubating-repository</url> + </repository> + <repository> + <id>java.net2</id> + <name>java.net Maven 2.x Repository</name> + <url>http://download.java.net/maven/2</url> + </repository> + </repositories> + + <dependencies> + <dependency> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-host-jetty</artifactId> + <version>1.6.2</version> + <scope>compile</scope> + </dependency> + + <dependency> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-host-embedded</artifactId> + <version>1.6.2</version> + <scope>compile</scope> + </dependency> + + <dependency> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-core</artifactId> + <version>5.2.0</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>backport-util-concurrent</groupId> + <artifactId>backport-util-concurrent</artifactId> + <version>3.1</version> + </dependency> + + <dependency> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-implementation-java-runtime</artifactId> + <version>1.6.2</version> + <scope>runtime</scope> + </dependency> + + <dependency> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-binding-ws-axis2</artifactId> + <version>1.6.2</version> + <scope>runtime</scope> + </dependency> + + <dependency> + <groupId>javax.xml.bind</groupId> + <artifactId>jaxb-api</artifactId> + <version>2.1</version> + </dependency> + + <dependency> + <groupId>javax.xml.ws</groupId> + <artifactId>jaxws-api</artifactId> + <version>2.1</version> + <exclusions> + <exclusion> + <groupId>javax.xml.soap</groupId> + <artifactId>saaj-api</artifactId> + </exclusion> + </exclusions> + </dependency> + + <!-- Add javax.xml.ws.soap.Addressing in case the build is using + the bad version of jaxws-api with this class missing + --> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-jaxws_2.1_spec</artifactId> + <version>1.0</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>com.sun.xml.ws</groupId> + <artifactId>jaxws-rt</artifactId> + <version>2.1.4</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.5</version> + <scope>test</scope> + </dependency> + + </dependencies> + + <build> + <finalName>${artifactId}</finalName> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>copy</id> + <phase>generate-sources</phase> + <goals> + <goal>copy</goal> + </goals> + <configuration> + <artifactItems> + <artifactItem> + <groupId>javax.xml.ws</groupId> + <artifactId>jaxws-api</artifactId> + <version>2.1</version> + <type>jar</type> + </artifactItem> + <artifactItem> + <groupId>javax.xml.bind</groupId> + <artifactId>jaxb-api</artifactId> + <version>2.1</version> + <type>jar</type> + </artifactItem> + </artifactItems> + <outputDirectory>${project.build.directory}/endorsed</outputDirectory> + <overWriteReleases>false</overWriteReleases> + <overWriteSnapshots>true</overWriteSnapshots> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <argLine>-Djava.endorsed.dirs=target/endorsed</argLine> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>jaxws-maven-plugin</artifactId> + <version>1.12</version> + <!-- Explicitly add the transitive dependencies for jaxws-api + http://jira.codehaus.org/browse/MEV-498 + --> + <dependencies> + <dependency> + <groupId>javax.jws</groupId> + <artifactId>jsr181-api</artifactId> + <version>1.0-MR1</version> + </dependency> + <dependency> + <groupId>javax.annotation</groupId> + <artifactId>jsr250-api</artifactId> + <version>1.0</version> + </dependency> + <!-- Add javax.xml.ws.soap.Addressing in case the build is using + the bad version of jaxws-api with this class missing + --> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-jaxws_2.1_spec</artifactId> + <version>1.0</version> + </dependency> + </dependencies> + <executions> + <execution> + <phase>generate-test-sources</phase> + <goals> + <goal>wsgen</goal> + </goals> + </execution> + </executions> + <configuration> + <sei>helloworld.HelloWorldImpl</sei> + <genWsdl>true</genWsdl> + <keep>true</keep> + <!-- TUSCANY-3765: avoid using class files that run only on JDK 6 --> + <destDir>${basedir}/target/unused-wsgen-classes</destDir> + <sourceDestDir>${basedir}/target/jaxws-source</sourceDestDir> + </configuration> + </plugin> + <!-- TUSCANY-3765: produce JDK 5-compatible JAX-WS class files --> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>1.0</version> + <executions> + <execution> + <id>add-test-source</id> + <phase>generate-test-sources</phase> + <goals> + <goal>add-test-source</goal> + </goals> + <configuration> + <sources> + <source>${basedir}/target/jaxws-source</source> + </sources> + </configuration> + </execution> + </executions> + </plugin> + <!-- TUSCANY-3765: copy JDK 5-compatible JAX-WS class files to the correct location --> + <plugin> + <artifactId>maven-resources-plugin</artifactId> + <executions> + <execution> + <id>copy-jaxws-classes</id> + <phase>process-test-classes</phase> + <goals> + <goal>copy-resources</goal> + </goals> + <configuration> + <outputDirectory>${basedir}/target/classes/helloworld</outputDirectory> + <resources> + <resource> + <directory>${basedir}/target/test-classes/helloworld</directory> + <includes> + <include>jaxws/**</include> + </includes> + </resource> + </resources> + </configuration> + </execution> + </executions> + </plugin> + <!-- TUSCANY-3765: delete directories containing unused class files --> + <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <executions> + <execution> + <id>cleanup-jaxws-classes</id> + <phase>process-test-classes</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <tasks> + <delete dir="${basedir}/target/unused-wsgen-classes" includeemptydirs="true"/> + <delete dir="${basedir}/target/test-classes/helloworld/jaxws" includeemptydirs="true"/> + </tasks> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + +</project> |