camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [10/10] camel git commit: CAMEL-10141: make camel-example-transformer-demo tests pass on Java 9
Date Mon, 27 Mar 2017 08:43:01 GMT
CAMEL-10141: make camel-example-transformer-demo 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/edb41658
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/edb41658
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/edb41658

Branch: refs/heads/master
Commit: edb41658d1fb7bf909afbd5a71b71f017fa61679
Parents: d700882
Author: jpoth <poth.john@gmail.com>
Authored: Fri Mar 24 17:04:01 2017 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Mon Mar 27 10:42:41 2017 +0200

----------------------------------------------------------------------
 examples/camel-example-transformer-demo/pom.xml | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/edb41658/examples/camel-example-transformer-demo/pom.xml
----------------------------------------------------------------------
diff --git a/examples/camel-example-transformer-demo/pom.xml b/examples/camel-example-transformer-demo/pom.xml
index d81a437..30d7180 100644
--- a/examples/camel-example-transformer-demo/pom.xml
+++ b/examples/camel-example-transformer-demo/pom.xml
@@ -100,7 +100,24 @@
         </configuration>
       </plugin>
     </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