This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-parent.git
The following commit(s) were added to refs/heads/master by this push:
new 0971769 Add profile java-1.12.
0971769 is described below
commit 097176943c14bc346a40af1353c6c187703c2be2
Author: Gary Gregory <[email protected]>
AuthorDate: Sun May 19 16:23:13 2019 -0400
Add profile java-1.12.
---
pom.xml | 16 +++++++++++++++-
src/changes/changes.xml | 1 +
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index b4060bb..a063996 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1422,6 +1422,20 @@
</properties>
</profile>
+ <!--
+ Profile for running the build using JDK 1.12
+ (JAVA_1_12_HOME needs to be defined, e.g. in settings.xml or an
environment variable)
+ -->
+ <profile>
+ <id>java-1.12</id>
+ <properties>
+ <commons.compiler.fork>true</commons.compiler.fork>
+
<commons.compiler.compilerVersion>1.12</commons.compiler.compilerVersion>
+
<commons.compiler.javac>${JAVA_1_12_HOME}/bin/javac</commons.compiler.javac>
+
<commons.surefire.java>${JAVA_1_12_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 -->
@@ -1701,7 +1715,7 @@
<commons.build-helper.version>3.0.0</commons.build-helper.version>
<commons.animal-sniffer.version>1.17</commons.animal-sniffer.version>
<!-- Almost all signatures use version 1.0. Allow override just in case -->
-
<commons.animal-sniffer.signature.version>1.0</commons.animal-sniffer.signature.version>
+
<commons.animal-sniffer.signature.version>1.0</commons.animal-sniff-sourceer.signature.version>
<!-- Default values for the download-page generation by
commons-build-plugin -->
<commons.release.name>${project.artifactId}-${commons.release.version}</commons.release.name>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 26eada2..85c5a4a 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -73,6 +73,7 @@ The <action> type attribute can be add,update,fix,remove.
<action type="update" dev="ggregory">Add properties
commons.javadoc.javaee5.link through commons.javadoc.javaee7.link</action>
<action type="update" dev="ggregory">Maven Surefire and Failsafe
plugins 2.22.1 -> 2.22.2</action>
<action type="update" dev="ggregory">commons.jar-plugin.version
3.1.1 -> 3.1.2</action>
+ <action type="update" dev="ggregory">Add profile java-1.12</action>
</release>
<release version="48" date="2019-03-20" description="Release version
47">