CAMEL-11850 fix camel-kubernetes 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/494fb90c Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/494fb90c Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/494fb90c Branch: refs/heads/master Commit: 494fb90c6c047465984b005b184c2475ccd6c364 Parents: 5eb29c9 Author: jpoth <poth.j...@gmail.com> Authored: Wed Sep 27 16:15:06 2017 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Wed Sep 27 18:58:01 2017 +0200 ---------------------------------------------------------------------- components/camel-kubernetes/pom.xml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/494fb90c/components/camel-kubernetes/pom.xml ---------------------------------------------------------------------- diff --git a/components/camel-kubernetes/pom.xml b/components/camel-kubernetes/pom.xml index 0d7b72b..87d3132 100644 --- a/components/camel-kubernetes/pom.xml +++ b/components/camel-kubernetes/pom.xml @@ -116,4 +116,29 @@ </plugin> </plugins> </build> + + <profiles> + <profile> + <id>jdk9-build</id> + <activation> + <jdk>[9,]</jdk> + </activation> + <dependencyManagement> + <dependencies> + <dependency> + <groupId>io.fabric8</groupId> + <artifactId>mockwebserver</artifactId> + <version>${mockwebserver-version}</version> + <scope>test</scope> + <exclusions> + <exclusion> + <groupId>com.sun</groupId> + <artifactId>tools</artifactId> + </exclusion> + </exclusions> + </dependency> + </dependencies> + </dependencyManagement> + </profile> + </profiles> </project>