Repository: camel Updated Branches: refs/heads/master e6131db33 -> c98e63d20
CAMEL-10141: make connector examples 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/c98e63d2 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/c98e63d2 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/c98e63d2 Branch: refs/heads/master Commit: c98e63d2032ac8fecd0cea43423af123edab0dab Parents: 57a2132 Author: jpoth <poth.j...@gmail.com> Authored: Wed Mar 15 15:17:10 2017 +0100 Committer: jpoth <poth.j...@gmail.com> Committed: Wed Mar 15 15:30:07 2017 +0100 ---------------------------------------------------------------------- connectors/examples/beverage-component/pom.xml | 18 ++++++++++++++++++ connectors/examples/foo-bar-wine-example/pom.xml | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/c98e63d2/connectors/examples/beverage-component/pom.xml ---------------------------------------------------------------------- diff --git a/connectors/examples/beverage-component/pom.xml b/connectors/examples/beverage-component/pom.xml index d349490..211c12e 100644 --- a/connectors/examples/beverage-component/pom.xml +++ b/connectors/examples/beverage-component/pom.xml @@ -91,4 +91,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</argLine> + </configuration> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project> http://git-wip-us.apache.org/repos/asf/camel/blob/c98e63d2/connectors/examples/foo-bar-wine-example/pom.xml ---------------------------------------------------------------------- diff --git a/connectors/examples/foo-bar-wine-example/pom.xml b/connectors/examples/foo-bar-wine-example/pom.xml index 358d1cc..e0fb146 100644 --- a/connectors/examples/foo-bar-wine-example/pom.xml +++ b/connectors/examples/foo-bar-wine-example/pom.xml @@ -103,4 +103,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</argLine> + </configuration> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project>