You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2017/05/05 11:15:41 UTC
[23/25] camel git commit: CAMEL-10141: make camel-spring-ws tests
pass on Java 9
CAMEL-10141: make camel-spring-ws tests pass on Java 9
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/734ed2a7
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/734ed2a7
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/734ed2a7
Branch: refs/heads/master
Commit: 734ed2a75ec2ba16460f56d842fe09e29b3a3827
Parents: fd35709
Author: jpoth <po...@gmail.com>
Authored: Thu Apr 27 20:59:33 2017 +0200
Committer: Zoran Regvart <zr...@apache.org>
Committed: Fri May 5 13:14:45 2017 +0200
----------------------------------------------------------------------
components/camel-spring-ws/pom.xml | 62 +++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/734ed2a7/components/camel-spring-ws/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-spring-ws/pom.xml b/components/camel-spring-ws/pom.xml
index 0f2b83a..592c21f 100644
--- a/components/camel-spring-ws/pom.xml
+++ b/components/camel-spring-ws/pom.xml
@@ -178,4 +178,66 @@
</dependencies>
+ <profiles>
+ <profile>
+ <id>java9</id>
+ <activation>
+ <jdk>9</jdk>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>--patch-module java.xml.bind=${project.basedir}/target/java9/stax-ex-1.7.8.jar --patch-module java.xml.ws=${project.basedir}/target/java9/saaj-impl-1.3.28.jar --patch-module java.xml.ws.annotation=${project.basedir}/target/java9/javax.annotation-api-1.2.jar ${camel.surefire.fork.vmargs} --add-exports=java.xml/com.sun.org.apache.xerces.internal.dom=java.xml.ws --add-exports=java.xml.bind/org.jvnet.staxex.util=java.xml.ws</argLine>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.10</version>
+ <executions>
+ <execution>
+ <id>copy</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.jvnet.staxex</groupId>
+ <artifactId>stax-ex</artifactId>
+ <version>1.7.8</version>
+ <type>jar</type>
+ <overWrite>false</overWrite>
+ <outputDirectory>${project.basedir}/target/java9</outputDirectory>
+ </artifactItem>
+ <artifactItem>
+ <groupId>javax.annotation</groupId>
+ <artifactId>javax.annotation-api</artifactId>
+ <version>1.2</version>
+ <type>jar</type>
+ <overWrite>false</overWrite>
+ <outputDirectory>${project.basedir}/target/java9</outputDirectory>
+ </artifactItem>
+ <artifactItem>
+ <groupId>com.sun.xml.messaging.saaj</groupId>
+ <artifactId>saaj-impl</artifactId>
+ <version>1.3.28</version>
+ <type>jar</type>
+ <overWrite>false</overWrite>
+ <outputDirectory>${project.basedir}/target/java9</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ <overWriteReleases>false</overWriteReleases>
+ <overWriteSnapshots>true</overWriteSnapshots>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>