You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2025/03/25 06:43:38 UTC

(maven-jar-plugin) branch maven-jar-plugin-3.x updated: Fix for Maven 4.0.0-rc-3

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

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


The following commit(s) were added to refs/heads/maven-jar-plugin-3.x by this push:
     new 872bef1  Fix for Maven 4.0.0-rc-3
872bef1 is described below

commit 872bef1f8f45ae7da9daebc9f642300dcdc6cfcd
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Mon Mar 24 19:54:26 2025 +0100

    Fix for Maven 4.0.0-rc-3
---
 pom.xml | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

diff --git a/pom.xml b/pom.xml
index 289bf2a..602163a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -79,16 +79,6 @@
     <project.build.outputTimestamp>2024-06-16T12:09:50Z</project.build.outputTimestamp>
   </properties>
 
-  <dependencyManagement>
-    <dependencies>
-      <dependency>
-        <groupId>commons-io</groupId>
-        <artifactId>commons-io</artifactId>
-        <version>2.16.1</version>
-      </dependency>
-    </dependencies>
-  </dependencyManagement>
-
   <dependencies>
     <!-- Maven Core -->
     <dependency>
@@ -148,6 +138,13 @@
       <version>1.7.36</version>
     </dependency>
 
+    <!-- we need for Maven rc-3, looks like dependencyManagement is not taken into account -->
+    <dependency>
+      <groupId>commons-io</groupId>
+      <artifactId>commons-io</artifactId>
+      <version>2.16.1</version>
+    </dependency>
+
     <!-- Test -->
     <dependency>
       <groupId>org.junit.jupiter</groupId>