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/14 17:28:14 UTC

[4/6] camel git commit: CAMEL-10141: make camel-spring-boot unit tests pass on Java 9

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

Branch: refs/heads/master
Commit: cad3c9cd1f59f322097bec41ed3607efb3cc8a46
Parents: 65d7932
Author: jpoth <po...@gmail.com>
Authored: Tue Mar 14 14:36:04 2017 +0100
Committer: jpoth <po...@gmail.com>
Committed: Tue Mar 14 17:49:05 2017 +0100

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


http://git-wip-us.apache.org/repos/asf/camel/blob/cad3c9cd/components/camel-spring-boot/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-spring-boot/pom.xml b/components/camel-spring-boot/pom.xml
index cd3c452..f17f90f 100644
--- a/components/camel-spring-boot/pom.xml
+++ b/components/camel-spring-boot/pom.xml
@@ -123,4 +123,23 @@
     </plugins>
   </build>
 
+  <profiles>
+    <profile>
+      <id>jdk9-build</id>
+      <activation>
+        <jdk>9</jdk>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <forkedProcessTimeoutInSeconds>3000</forkedProcessTimeoutInSeconds>
+              <argLine>--add-modules java.xml.bind --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>