CAMEL-10968: skip CXF tests on Java 9 until CXF-7270 is resolved
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/925bfe65 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/925bfe65 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/925bfe65 Branch: refs/heads/master Commit: 925bfe6592ca4831497bfe1c79e8e98f78c0f908 Parents: a01f14c Author: jpoth <poth.j...@gmail.com> Authored: Fri Apr 14 11:07:21 2017 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Fri Apr 14 12:57:21 2017 +0200 ---------------------------------------------------------------------- examples/camel-example-cxf/pom.xml | 20 ++++++++++++++++ .../pom.xml | 22 ++++++++++++++++++ tests/camel-blueprint-cxf-test/pom.xml | 24 +++++++++++++++++++- 3 files changed, 65 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/925bfe65/examples/camel-example-cxf/pom.xml ---------------------------------------------------------------------- diff --git a/examples/camel-example-cxf/pom.xml b/examples/camel-example-cxf/pom.xml index cc3f12f..d87f88f 100644 --- a/examples/camel-example-cxf/pom.xml +++ b/examples/camel-example-cxf/pom.xml @@ -245,6 +245,26 @@ <target.main.class>org.apache.camel.example.cxf.jaxrs.Client</target.main.class> </properties> </profile> + <profile> + <id>java9</id> + <activation> + <jdk>9</jdk> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <excludes> + <!--ignore tests until CXF-7270 is resolved and released--> + <exclude>**/**</exclude> + </excludes> + </configuration> + </plugin> + </plugins> + </build> + </profile> </profiles> <build> http://git-wip-us.apache.org/repos/asf/camel/blob/925bfe65/examples/camel-example-reportincident-wssecurity/pom.xml ---------------------------------------------------------------------- diff --git a/examples/camel-example-reportincident-wssecurity/pom.xml b/examples/camel-example-reportincident-wssecurity/pom.xml index 143583f..8ff14c2 100644 --- a/examples/camel-example-reportincident-wssecurity/pom.xml +++ b/examples/camel-example-reportincident-wssecurity/pom.xml @@ -226,4 +226,26 @@ </plugins> </build> + <profiles> + <profile> + <id>java9</id> + <activation> + <jdk>9</jdk> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <excludes> + <!--ignore tests until CXF-7270 is resolved and released--> + <exclude>**/**</exclude> + </excludes> + </configuration> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project> http://git-wip-us.apache.org/repos/asf/camel/blob/925bfe65/tests/camel-blueprint-cxf-test/pom.xml ---------------------------------------------------------------------- diff --git a/tests/camel-blueprint-cxf-test/pom.xml b/tests/camel-blueprint-cxf-test/pom.xml index 6948da8..3e790b1 100644 --- a/tests/camel-blueprint-cxf-test/pom.xml +++ b/tests/camel-blueprint-cxf-test/pom.xml @@ -195,5 +195,27 @@ </dependency> </dependencies> - + + <profiles> + <profile> + <id>java9</id> + <activation> + <jdk>9</jdk> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <excludes> + <!--ignore tests until CXF-7270 is resolved and released--> + <exclude>**/**</exclude> + </excludes> + </configuration> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project>