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

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

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

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

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


http://git-wip-us.apache.org/repos/asf/camel/blob/4b15ac2c/examples/camel-example-validator-spring-boot/pom.xml
----------------------------------------------------------------------
diff --git a/examples/camel-example-validator-spring-boot/pom.xml b/examples/camel-example-validator-spring-boot/pom.xml
index 91ebba2..5a311c7 100644
--- a/examples/camel-example-validator-spring-boot/pom.xml
+++ b/examples/camel-example-validator-spring-boot/pom.xml
@@ -117,4 +117,22 @@
     </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>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>