From 9d1959edef3d1df8ba0661339e7ff540bcf536da Mon Sep 17 00:00:00 2001 From: Andy Taylor Date: Mon, 23 Feb 2015 10:14:16 +0000 Subject: [PATCH] ACTIVEMQ6-83 - make the build use Java 8 by default https://issues.apache.org/jira/browse/ACTIVEMQ6-83 upgrade to Java 8 minimum and change the default profile to build the distro. Also add enforcer rule for Java 8 --- pom.xml | 66 ++++++++++++++++++++++----------------------------------- 1 file changed, 25 insertions(+), 41 deletions(-) diff --git a/pom.xml b/pom.xml index c821a4d2f7..9611d295aa 100644 --- a/pom.xml +++ b/pom.xml @@ -443,37 +443,10 @@ - default + distro true - - activemq-dto - activemq-web - activemq-website - activemq-bootstrap - activemq-commons - activemq-selector - activemq-core-client - activemq-server - activemq-jms-client - activemq-jms-server - activemq-journal - activemq-native - activemq-ra - activemq-rest - activemq-tools - activemq-service-extensions - activemq-maven-plugin - - integration/activemq-spring-integration - integration/activemq-aerogear-integration - integration/activemq-vertx-integration - tests - - - - distro activemq-dto activemq-web @@ -626,15 +599,6 @@ true - - jdk8 - - 1.8 - - - -Xdoclint:none - - @@ -792,20 +756,40 @@ + + org.apache.maven.plugins + maven-enforcer-plugin + 1.4 + + + enforce-java + + enforce + + + + + 1.8.0 + + + + + + org.apache.maven.plugins maven-compiler-plugin true - 1.7 - 1.7 + 1.8 + 1.8 org.apache.maven.plugins maven-javadoc-plugin - ${javadoc.opts} + -Xdoclint:none @@ -993,7 +977,7 @@ true com.restfully.*:org.jboss.resteasy.examples.*:org.jboss.resteasy.tests.* - ${javadoc.opts} + -Xdoclint:none