camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [11/20] camel git commit: CAMEL-10141: make camel-example-pojo-messaging tests pass on Java 9
Date Fri, 14 Apr 2017 10:57:56 GMT
CAMEL-10141: make camel-example-pojo-messaging 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/fdeb3475
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/fdeb3475
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/fdeb3475

Branch: refs/heads/master
Commit: fdeb34752943b2bf4723407b99da875708fae852
Parents: 1b8949f
Author: jpoth <poth.john@gmail.com>
Authored: Fri Apr 14 11:00:21 2017 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Fri Apr 14 12:57:21 2017 +0200

----------------------------------------------------------------------
 examples/camel-example-pojo-messaging/pom.xml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/fdeb3475/examples/camel-example-pojo-messaging/pom.xml
----------------------------------------------------------------------
diff --git a/examples/camel-example-pojo-messaging/pom.xml b/examples/camel-example-pojo-messaging/pom.xml
index f71b3b7..34b1bd6 100644
--- a/examples/camel-example-pojo-messaging/pom.xml
+++ b/examples/camel-example-pojo-messaging/pom.xml
@@ -140,4 +140,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>


Mime
View raw message