Fixing build with JDK8
Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/3a534c1c Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/3a534c1c Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/3a534c1c Branch: refs/heads/1.2.x-fixes Commit: 3a534c1c50dd237a608bfa2be8b7846dd04af63e Parents: 088741c Author: Colm O hEigeartaigh <cohei...@apache.org> Authored: Wed Dec 16 21:32:05 2015 +0000 Committer: Colm O hEigeartaigh <cohei...@apache.org> Committed: Wed Dec 16 21:32:05 2015 +0000 ---------------------------------------------------------------------- systests/jetty8/pom.xml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/3a534c1c/systests/jetty8/pom.xml ---------------------------------------------------------------------- diff --git a/systests/jetty8/pom.xml b/systests/jetty8/pom.xml index f56bed2..bf1e594 100644 --- a/systests/jetty8/pom.xml +++ b/systests/jetty8/pom.xml @@ -232,4 +232,30 @@ </plugin> </plugins> </build> + + <profiles> + <!-- Skip Jetty8 tests if we are using JDK8 --> + <profile> + <id>jdk18</id> + <activation> + <jdk>1.8</jdk> + </activation> + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-failsafe-plugin</artifactId> + <inherited>true</inherited> + <configuration> + <excludes> + <exclude>**/integrationtests/**</exclude> + </excludes> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> + </profile> + </profiles> </project>