Repository: camel Updated Branches: refs/heads/master 689d3c8f0 -> 968fd2b17
CAMEL-10141: make camel-elsql 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/968fd2b1 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/968fd2b1 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/968fd2b1 Branch: refs/heads/master Commit: 968fd2b17db562d5094706a6baa2dcf959ee7a69 Parents: 1901107 Author: jpoth <poth.j...@gmail.com> Authored: Tue Mar 14 16:23:37 2017 +0100 Committer: jpoth <poth.j...@gmail.com> Committed: Tue Mar 14 17:49:05 2017 +0100 ---------------------------------------------------------------------- components/camel-elsql/pom.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/968fd2b1/components/camel-elsql/pom.xml ---------------------------------------------------------------------- diff --git a/components/camel-elsql/pom.xml b/components/camel-elsql/pom.xml index 3941882..babf960 100644 --- a/components/camel-elsql/pom.xml +++ b/components/camel-elsql/pom.xml @@ -114,4 +114,26 @@ </plugin> </plugins> </build> + + <profiles> + <profile> + <id>jdk9-build</id> + <activation> + <jdk>9</jdk> + </activation> + <build> + <plugins> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <forkedProcessTimeoutInSeconds>3000</forkedProcessTimeoutInSeconds> + <argLine>--add-modules java.sql,java.xml.bind --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED</argLine> + <!--https://issues.apache.org/jira/browse/SUREFIRE-1265 --> + <reuseForks>true</reuseForks> + </configuration> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project>