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/03/27 08:42:53 UTC

[02/10] camel git commit: CAMEL-10141: make camel-example-spring-boot-rest-jpa tests pass on Java 9

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

Branch: refs/heads/master
Commit: be3aea0d9bec01991b313f493c771797c9c8f10b
Parents: edb4165
Author: jpoth <po...@gmail.com>
Authored: Fri Mar 24 17:04:41 2017 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Mon Mar 27 10:42:41 2017 +0200

----------------------------------------------------------------------
 .../camel-example-spring-boot-rest-jpa/pom.xml    | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/be3aea0d/examples/camel-example-spring-boot-rest-jpa/pom.xml
----------------------------------------------------------------------
diff --git a/examples/camel-example-spring-boot-rest-jpa/pom.xml b/examples/camel-example-spring-boot-rest-jpa/pom.xml
index 2f956cb..bb29607 100644
--- a/examples/camel-example-spring-boot-rest-jpa/pom.xml
+++ b/examples/camel-example-spring-boot-rest-jpa/pom.xml
@@ -136,6 +136,24 @@
     </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 --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.invoke=ALL-UNNAMED</argLine>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>