You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by cs...@apache.org on 2022/07/02 09:16:05 UTC

[maven-jar-plugin] branch master updated: [MJAR-278] Update plugin (requires Maven 3.2.5+) (#19)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new c02be20  [MJAR-278] Update plugin (requires Maven 3.2.5+) (#19)
c02be20 is described below

commit c02be208f3f4422ed0e9990e56602e3ee7d246a0
Author: Tamas Cservenak <ta...@cservenak.net>
AuthorDate: Sat Jul 2 11:16:01 2022 +0200

    [MJAR-278] Update plugin (requires Maven 3.2.5+) (#19)
    
    Update plugin:
     * make it Java8
     * requires Maven 3.2.5+
     * maven bits scope set to provided
     * update file-management 3.1.0
     * update maven-archiver 3.6.0
---
 pom.xml | 38 ++++++++------------------------------
 1 file changed, 8 insertions(+), 30 deletions(-)

diff --git a/pom.xml b/pom.xml
index 359c3e8..86cb9cc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -75,13 +75,8 @@
   </distributionManagement>
 
   <properties>
-    <mavenFileManagementVersion>3.0.0</mavenFileManagementVersion>
-    <mavenArchiverVersion>3.5.2</mavenArchiverVersion>
-    <mavenVersion>3.1.0</mavenVersion>
-    <!-- TODO remove with Maven APi upgrade -->
-    <!-- the same version as in Maven 3.1.0 -->
-    <sisuVersion>0.0.0.M2a</sisuVersion>
     <javaVersion>8</javaVersion>
+    <mavenVersion>3.2.5</mavenVersion>
     <project.build.outputTimestamp>2022-01-08T21:19:21Z</project.build.outputTimestamp>
   </properties>
 
@@ -113,12 +108,12 @@
     <dependency>
       <groupId>org.apache.maven.shared</groupId>
       <artifactId>file-management</artifactId>
-      <version>${mavenFileManagementVersion}</version>
+      <version>3.1.0</version>
     </dependency>
     <dependency>
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-archiver</artifactId>
-      <version>${mavenArchiverVersion}</version>
+      <version>3.6.0</version>
     </dependency>
     <!-- dependencies to annotations -->
     <dependency>
@@ -126,30 +121,13 @@
       <artifactId>maven-plugin-annotations</artifactId>
       <scope>provided</scope>
     </dependency>
-    <!--
-      ! other dependencies contain references to older versions
-      ! so we define it here explicit to make sure we get the
-      ! correct version for plexus-utils.
-    -->
-    <!--
-     ! maven-shared-utils is pulled by file-management
-     ! Need to use a more recent version otherwise
-     ! the build will fail. This needed to be kept
-     ! here until a new version of file-management
-     ! has been made. 
-    -->
-    <dependency>
-      <groupId>org.apache.maven.shared</groupId>
-      <artifactId>maven-shared-utils</artifactId>
-      <version>3.3.4</version>
-      <scope>runtime</scope>
-    </dependency>
     <dependency>
       <groupId>org.codehaus.plexus</groupId>
-      <artifactId>plexus-utils</artifactId>
-      <version>3.4.2</version>
-      <scope>runtime</scope>
+      <artifactId>plexus-archiver</artifactId>
+      <version>4.3.0</version>
     </dependency>
+
+    <!-- Test -->
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
@@ -159,7 +137,7 @@
     <dependency>
       <groupId>org.apache.maven.plugin-testing</groupId>
       <artifactId>maven-plugin-testing-harness</artifactId>
-      <version>3.1.0</version>
+      <version>3.3.0</version>
       <scope>test</scope>
     </dependency>
     <dependency>