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:57:49 UTC

[04/20] camel git commit: CAMEL-10141: make camel-example-loan-broker-jms tests pass on Java 9

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

Branch: refs/heads/master
Commit: e6964f1e74bc2a2f9d76450447332ce03570cf53
Parents: 3f9ebd5
Author: jpoth <po...@gmail.com>
Authored: Fri Apr 14 10:48:15 2017 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Fri Apr 14 12:57:21 2017 +0200

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


http://git-wip-us.apache.org/repos/asf/camel/blob/e6964f1e/examples/camel-example-loan-broker-jms/pom.xml
----------------------------------------------------------------------
diff --git a/examples/camel-example-loan-broker-jms/pom.xml b/examples/camel-example-loan-broker-jms/pom.xml
index 186036b..0668ecf 100644
--- a/examples/camel-example-loan-broker-jms/pom.xml
+++ b/examples/camel-example-loan-broker-jms/pom.xml
@@ -177,6 +177,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>