You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2025/02/01 21:29:52 UTC

(commons-build-plugin) 03/04: Refactor version for Maven core plugin dependencies into a new property commons.maven.version

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-build-plugin.git

commit ba8a1870bc9255022db8f7f5a2a2d3c65df9c5ea
Author: Gary D. Gregory <ga...@gmail.com>
AuthorDate: Sat Feb 1 16:02:44 2025 -0500

    Refactor version for Maven core plugin dependencies into a new property
    commons.maven.version
---
 pom.xml                 | 5 +++--
 src/changes/changes.xml | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 3e0b4d1..095a6a4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -77,6 +77,7 @@
     <commons.rc.version>RC1</commons.rc.version>
     <commons.release.isDistModule>true</commons.release.isDistModule>
     <commons.distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/${commons.componentid}</commons.distSvnStagingUrl>
+    <commons.maven.version>3.9.9</commons.maven.version>
     <!--
       Define the following in ~/.m2/settings.xml in an active profile:
       (or provide them on the command line)
@@ -106,14 +107,14 @@
       <!-- Try to deal with https://bz.apache.org/bugzilla/show_bug.cgi?id=66951 -->
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-plugin-api</artifactId>
-      <version>3.9.9</version>
+      <version>${commons.maven.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <!-- Try to deal with https://bz.apache.org/bugzilla/show_bug.cgi?id=66951 -->
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-core</artifactId>
-      <version>3.9.9</version>
+      <version>${commons.maven.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 4251f4d..f86ee9d 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -31,6 +31,7 @@
       <action type="fix" dev="ggregory" due-to="Gary Gregory">Migrate site generation templates to https://maven.apache.org/xsd/xdoc-2.0.xsd.</action>
       <action type="fix" dev="ggregory" due-to="Gary Gregory">Remove -nouses directive from maven-bundle-plugin. OSGi package imports now state 'uses' definitions for package imports, this doesn't affect JPMS (from org.apache.commons:commons-parent:80).</action>
       <!-- ADD -->
+      <action type="add" dev="ggregory" due-to="Gary Gregory">Refactor version for Maven core plugin dependencies into a new property commons.maven.version.</action>
       <!-- UPDATE -->
       <action dev="ggregory" type="update" due-to="Dependabot, Gary Gregory">Bump org.graalvm.js:js from 23.0.6 to 23.0.7 #347.</action>
       <action dev="ggregory" type="update" due-to="Dependabot, Gary Gregory">Bump org.graalvm.js:js-scriptengine from 24.1.1 to 24.1.2 #346.</action>