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/15 15:00:42 UTC

[7/8] camel git commit: CAMEL-10141: make spring-boot starters unit tests pass on Java 9

CAMEL-10141: make spring-boot starters unit 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/57a2132b
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/57a2132b
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/57a2132b

Branch: refs/heads/master
Commit: 57a2132bdd9cb7db67e137bc84f2f19d7543291a
Parents: 8c654e0
Author: jpoth <po...@gmail.com>
Authored: Wed Mar 15 15:00:10 2017 +0100
Committer: jpoth <po...@gmail.com>
Committed: Wed Mar 15 15:30:07 2017 +0100

----------------------------------------------------------------------
 platforms/spring-boot/components-starter/pom.xml | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/57a2132b/platforms/spring-boot/components-starter/pom.xml
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/pom.xml b/platforms/spring-boot/components-starter/pom.xml
index 17c9df3..c9ceb03 100644
--- a/platforms/spring-boot/components-starter/pom.xml
+++ b/platforms/spring-boot/components-starter/pom.xml
@@ -308,4 +308,23 @@
     <module>camel-zookeeper-master-starter</module>
     <module>camel-zookeeper-starter</module>
   </modules>
+
+  <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</argLine>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>