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

sjaranowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-war-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new f9cea7d  Require Maven 3.6.3 as minimum
f9cea7d is described below

commit f9cea7dabef40b4e7e77572f1c51de8172842fbf
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Tue Oct 21 23:17:31 2025 +0200

    Require Maven 3.6.3 as minimum
    
    - manage scope and version for transitive dependencies
---
 pom.xml | 29 +++++++++++++++++++++++++----
 1 file changed, 25 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index c992e08..99d686b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -50,7 +50,7 @@
   </contributors>
 
   <prerequisites>
-    <maven>${mavenVersion}</maven>
+    <maven>3.6.3</maven>
   </prerequisites>
 
   <scm>
@@ -77,7 +77,7 @@
   <properties>
     <mavenArchiverVersion>3.6.5</mavenArchiverVersion>
     <mavenFilteringVersion>3.4.0</mavenFilteringVersion>
-    <mavenVersion>3.2.5</mavenVersion>
+    <mavenVersion>3.9.11</mavenVersion>
     <javaVersion>8</javaVersion>
 
     <!-- TODO remove with next parent version bump -->
@@ -87,13 +87,31 @@
 
   <dependencyManagement>
     <dependencies>
+      <!-- change scope for transitive dependency -->
+      <dependency>
+        <groupId>org.apache.maven</groupId>
+        <artifactId>maven-core</artifactId>
+        <version>${mavenVersion}</version>
+        <scope>provided</scope>
+      </dependency>
       <dependency>
-        <!-- change scope for transitive dependency -->
         <groupId>org.apache.maven</groupId>
         <artifactId>maven-settings</artifactId>
         <version>${mavenVersion}</version>
         <scope>provided</scope>
       </dependency>
+      <dependency>
+        <groupId>javax.inject</groupId>
+        <artifactId>javax.inject</artifactId>
+        <version>1</version>
+        <scope>provided</scope>
+      </dependency>
+      <!-- manage versions for transitive dependencies -->
+      <dependency>
+        <groupId>org.apache.commons</groupId>
+        <artifactId>commons-lang3</artifactId>
+        <version>3.19.0</version>
+      </dependency>
     </dependencies>
   </dependencyManagement>
 
@@ -107,7 +125,6 @@
     <dependency>
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-core</artifactId>
-      <version>${mavenVersion}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
@@ -138,6 +155,10 @@
       <artifactId>maven-shared-utils</artifactId>
       <version>3.4.2</version>
     </dependency>
+    <dependency>
+      <groupId>javax.inject</groupId>
+      <artifactId>javax.inject</artifactId>
+    </dependency>
 
     <dependency>
       <groupId>commons-io</groupId>

Reply via email to