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:00 UTC

[15/20] camel git commit: CAMEL-10141: make camel-example-cafe tests pass on Java 9

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

Branch: refs/heads/master
Commit: f0cc62ec403817c3f0050c870a5ad06732fb4bba
Parents: 047761a
Author: jpoth <po...@gmail.com>
Authored: Fri Apr 14 11:02:13 2017 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Fri Apr 14 12:57:21 2017 +0200

----------------------------------------------------------------------
 examples/camel-example-cafe/pom.xml | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/f0cc62ec/examples/camel-example-cafe/pom.xml
----------------------------------------------------------------------
diff --git a/examples/camel-example-cafe/pom.xml b/examples/camel-example-cafe/pom.xml
index 3255469..5e88b79 100755
--- a/examples/camel-example-cafe/pom.xml
+++ b/examples/camel-example-cafe/pom.xml
@@ -118,5 +118,23 @@
 
     </plugins>
   </build>
-
+  
+  <profiles>
+    <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</argLine>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>