Author: ggregory Date: Wed Oct 22 04:16:08 2014 New Revision: 1633513 URL: http://svn.apache.org/r1633513 Log: Add java-1.9 profile.
Modified: commons/proper/commons-parent/trunk/pom.xml Modified: commons/proper/commons-parent/trunk/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1633513&r1=1633512&r2=1633513&view=diff ============================================================================== --- commons/proper/commons-parent/trunk/pom.xml (original) +++ commons/proper/commons-parent/trunk/pom.xml Wed Oct 22 04:16:08 2014 @@ -1089,6 +1089,20 @@ Version 35: </properties> </profile> + <!-- + Profile for running the build using JDK 1.9 + (JAVA_1_9_HOME needs to be defined, e.g. in settings.xml or an environment variable) + --> + <profile> + <id>java-1.9</id> + <properties> + <commons.compiler.fork>true</commons.compiler.fork> + <commons.compiler.compilerVersion>1.9</commons.compiler.compilerVersion> + <commons.compiler.javac>${JAVA_1_9_HOME}/bin/javac</commons.compiler.javac> + <commons.surefire.java>${JAVA_1_9_HOME}/bin/java</commons.surefire.java> + </properties> + </profile> + <!-- N.B. when adding new java profiles, be sure to update the _removeheaders list in the maven_bundle_plugin configuration -->