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:42:56 UTC
[05/10] camel git commit: CAMEL-10141: make camel-ruby unit tests
pass on Java 9
CAMEL-10141: make camel-ruby 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/4c28574c
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/4c28574c
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/4c28574c
Branch: refs/heads/master
Commit: 4c28574ce06b389562fc33f4ec4f4ab30e3a4262
Parents: 65c68f7
Author: jpoth <po...@gmail.com>
Authored: Fri Mar 24 16:54:00 2017 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Mon Mar 27 10:42:41 2017 +0200
----------------------------------------------------------------------
components/camel-ruby/pom.xml | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/4c28574c/components/camel-ruby/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-ruby/pom.xml b/components/camel-ruby/pom.xml
index b80db0f..c74bbb2 100644
--- a/components/camel-ruby/pom.xml
+++ b/components/camel-ruby/pom.xml
@@ -76,4 +76,22 @@
</dependency>
</dependencies>
+ <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 --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.util.regex=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED</argLine>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>