You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2020/05/16 12:57:17 UTC

[commons-parent] branch master updated: Downgrade plugins to allow Java7 builds again

This is an automated email from the ASF dual-hosted git repository.

sebb 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 f4ff147  Downgrade plugins to allow Java7 builds again
f4ff147 is described below

commit f4ff1476f06b223757fdb73a128199afa52a5d49
Author: Sebb <se...@apache.org>
AuthorDate: Sat May 16 13:56:17 2020 +0100

    Downgrade plugins to allow Java7 builds again
---
 pom.xml                 | 7 ++++++-
 src/changes/changes.xml | 1 +
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index fc11bac..02e3fa5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -110,6 +110,7 @@
 
     <!-- plugin versions (allows same value in reporting and build sections; also allows easy override) -->
     <commons.animal-sniffer.version>1.18</commons.animal-sniffer.version>
+     <!-- 1.8 requires Java 8+ -->
     <!-- 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.assembly-plugin.version>3.2.0</commons.assembly-plugin.version>
@@ -136,6 +137,8 @@
     <commons.rat.version>0.13</commons.rat.version>
     <commons.release-plugin.version>1.7</commons.release-plugin.version>
     <commons.scm-publish.version>1.1</commons.scm-publish.version>
+    <!-- requires Java 8+ -->
+    <biz.aQute.bndlib.version>5.0.1</biz.aQute.bndlib.version>
 
     <!--
       Note: Maven site plugin 3.5.1 is the latest version but is not a direct replacement:
@@ -606,7 +609,7 @@
               <!-- Fixes https://github.com/bndtools/bnd/issues/3903 seen with Commons CSV. -->
               <groupId>biz.aQute.bnd</groupId>
               <artifactId>biz.aQute.bndlib</artifactId>
-              <version>5.0.1</version>
+              <version>${biz.aQute.bndlib.version}</version>
             </dependency>
           </dependencies>
         </plugin>
@@ -1833,6 +1836,8 @@
       <properties>
         <!-- Fix to build on JDK 7: version 4.0.0 requires Java 8. -->
         <commons.felix.version>3.5.1</commons.felix.version>
+        <commons.animal-sniffer.version>1.17</commons.animal-sniffer.version>
+        <biz.aQute.bndlib.version>3.5.0</biz.aQute.bndlib.version>
       </properties>
     </profile>
 
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index ec696f8..fcb815b 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -70,6 +70,7 @@ The <action> type attribute can be add,update,fix,remove.
             <action type="update" dev="ggregory">maven-javadoc-plugin 3.1.1 -> 3.2.0.</action>
             <action type="update" dev="ggregory">commons.pmd.version 3.12.0 -> 3.13.0.</action>
             <action type="update" dev="ggregory">Fix https://github.com/bndtools/bnd/issues/3903 seen with Commons CSV.</action>
+            <action type="fix" dev="sebb">Allow Java7 builds: commons.animal-sniffer.version=1.17; biz.aQute.bndlib.version=3.5.0</action>
         </release>
 
         <release version="50" date="2019-12-17" description="Update site generation.