You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2017/04/21 13:06:25 UTC
[2/8] camel git commit: CAMEL-10141: make camel-test-spring tests
pass on Java 9
CAMEL-10141: make camel-test-spring 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/6447df24
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/6447df24
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/6447df24
Branch: refs/heads/master
Commit: 6447df246ce7fb2351aa474c37f704396d177210
Parents: f092da9
Author: jpoth <po...@gmail.com>
Authored: Fri Apr 21 14:47:26 2017 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Fri Apr 21 15:03:44 2017 +0200
----------------------------------------------------------------------
components/camel-test-spring/pom.xml | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/6447df24/components/camel-test-spring/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-test-spring/pom.xml b/components/camel-test-spring/pom.xml
index 7b67afa..3f3f7bb 100644
--- a/components/camel-test-spring/pom.xml
+++ b/components/camel-test-spring/pom.xml
@@ -71,4 +71,24 @@
<scope>test</scope>
</dependency>
</dependencies>
+
+ <profiles>
+ <profile>
+ <id>jdk9-build</id>
+ <activation>
+ <jdk>9</jdk>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <reuseForks>true</reuseForks>
+ <argLine>--add-modules java.xml.bind,java.xml.ws --add-opens java.base/java.lang=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED --add-exports=java.xml.bind/com.sun.xml.internal.bind=ALL-UNNAMED --add-exports=java.xml.bind/com.sun.xml.internal.bind.v2=ALL-UNNAMED --add-exports=java.xml.bind/com.sun.xml.internal.bind.v2.runtime.reflect=ALL-UNNAMED</argLine>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>