Author: ggregory
Date: Thu Mar 29 16:41:15 2018
New Revision: 1828006
URL: http://svn.apache.org/viewvc?rev=1828006&view=rev
Log:
- Add java-1.10 profile.
- Add java-1.11 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=1828006&r1=1828005&r2=1828006&view=diff
==============================================================================
--- commons/proper/commons-parent/trunk/pom.xml (original)
+++ commons/proper/commons-parent/trunk/pom.xml Thu Mar 29 16:41:15 2018
@@ -42,6 +42,8 @@
- japicmp-maven-plugin 0.11.0 -> 0.11.1
- maven-surefire-report-plugin 2.20.1 -> 2.21.0
+ - Add java-1.10 profile
+ - Add java-1.11 profile
-->
@@ -1472,6 +1474,34 @@
</properties>
</profile>
+ <!--
+ Profile for running the build using JDK 1.10
+ (JAVA_1_10_HOME needs to be defined, e.g. in settings.xml or an
environment variable)
+ -->
+ <profile>
+ <id>java-1.10</id>
+ <properties>
+ <commons.compiler.fork>true</commons.compiler.fork>
+
<commons.compiler.compilerVersion>1.10</commons.compiler.compilerVersion>
+
<commons.compiler.javac>${JAVA_1_10_HOME}/bin/javac</commons.compiler.javac>
+
<commons.surefire.java>${JAVA_1_10_HOME}/bin/java</commons.surefire.java>
+ </properties>
+ </profile>
+
+ <!--
+ Profile for running the build using JDK 1.11
+ (JAVA_1_11_HOME needs to be defined, e.g. in settings.xml or an
environment variable)
+ -->
+ <profile>
+ <id>java-1.11</id>
+ <properties>
+ <commons.compiler.fork>true</commons.compiler.fork>
+
<commons.compiler.compilerVersion>1.11</commons.compiler.compilerVersion>
+
<commons.compiler.javac>${JAVA_1_11_HOME}/bin/javac</commons.compiler.javac>
+
<commons.surefire.java>${JAVA_1_11_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 -->