CAMEL-10141: skip opentracing tests on Java 9 until Byteman upgrade to 4.x
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/61ed6e64 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/61ed6e64 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/61ed6e64 Branch: refs/heads/master Commit: 61ed6e64b70bbdefe7d34c6ee6a149d15f2f233d Parents: 3b5fb60 Author: jpoth <poth.j...@gmail.com> Authored: Fri Apr 21 12:11:45 2017 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Fri Apr 21 15:03:44 2017 +0200 ---------------------------------------------------------------------- components/camel-opentracing/pom.xml | 35 +++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/61ed6e64/components/camel-opentracing/pom.xml ---------------------------------------------------------------------- diff --git a/components/camel-opentracing/pom.xml b/components/camel-opentracing/pom.xml index d296c02..eb2a785 100644 --- a/components/camel-opentracing/pom.xml +++ b/components/camel-opentracing/pom.xml @@ -169,4 +169,39 @@ </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> + <plugin> + <artifactId>maven-failsafe-plugin</artifactId> + <executions> + <execution> + <id>run-integration-tests</id> + <goals> + <goal>integration-test</goal> + </goals> + <configuration> + <excludes> + <!--TODO: https://github.com/opentracing-contrib/java-agent/issues/18--> + <exclude>**/**.java</exclude> + </excludes> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project>