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/14 10:58:04 UTC

[19/20] camel git commit: CAMEL-10968: make camel-example-loan-broker-cxf tests pass on Java 9

CAMEL-10968: make camel-example-loan-broker-cxf 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/1ca0ec4d
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/1ca0ec4d
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/1ca0ec4d

Branch: refs/heads/master
Commit: 1ca0ec4dac23930357bb62ac587b8047d332cf0f
Parents: 8a23104
Author: jpoth <po...@gmail.com>
Authored: Fri Apr 14 11:56:22 2017 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Fri Apr 14 12:57:21 2017 +0200

----------------------------------------------------------------------
 examples/camel-example-loan-broker-cxf/pom.xml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/1ca0ec4d/examples/camel-example-loan-broker-cxf/pom.xml
----------------------------------------------------------------------
diff --git a/examples/camel-example-loan-broker-cxf/pom.xml b/examples/camel-example-loan-broker-cxf/pom.xml
index b5180c5..e6c5db0 100644
--- a/examples/camel-example-loan-broker-cxf/pom.xml
+++ b/examples/camel-example-loan-broker-cxf/pom.xml
@@ -170,6 +170,22 @@
         <target.main.class>org.apache.camel.loanbroker.Client</target.main.class>
       </properties>
     </profile>
+    <profile>
+      <id>jdk9-build</id>
+      <activation>
+        <jdk>9</jdk>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <argLine>--add-modules java.xml.bind,java.xml.ws --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.xml.bind/com.sun.xml.internal.bind.v2.runtime=ALL-UNNAMED</argLine>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 
 </project>