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

[8/8] camel git commit: CAMEL-10141: make camel-spring-cloud-netflix unit tests pass on Java 9

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

Branch: refs/heads/master
Commit: cc31fe41dde9f12adafdbb72b6ac43e5f9cb5592
Parents: cf62ada
Author: jpoth <po...@gmail.com>
Authored: Wed Mar 15 13:17:38 2017 +0100
Committer: jpoth <po...@gmail.com>
Committed: Wed Mar 15 15:30:07 2017 +0100

----------------------------------------------------------------------
 components/camel-spring-cloud-netflix/pom.xml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/cc31fe41/components/camel-spring-cloud-netflix/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-spring-cloud-netflix/pom.xml b/components/camel-spring-cloud-netflix/pom.xml
index 7dcf92d..a111462 100644
--- a/components/camel-spring-cloud-netflix/pom.xml
+++ b/components/camel-spring-cloud-netflix/pom.xml
@@ -133,4 +133,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</argLine>
+              <!--https://issues.apache.org/jira/browse/SUREFIRE-1265 -->
+              <reuseForks>true</reuseForks>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>