[Git][java-team/maven-install-plugin][upstream] New upstream version 3.1.4

Emmanuel Bourg (@ebourg) gitlab at salsa.debian.org
Mon Mar 3 17:37:56 GMT 2025



Emmanuel Bourg pushed to branch upstream at Debian Java Maintainers / maven-install-plugin


Commits:
ab72ae05 by Emmanuel Bourg at 2025-03-03T18:34:57+01:00
New upstream version 3.1.4
- - - - -


6 changed files:

- + .github/workflows/pr-automation.yml
- + .github/workflows/release-drafter.yml
- README.md
- pom.xml
- src/main/java/org/apache/maven/plugins/install/InstallFileMojo.java
- src/site/site.xml


Changes:

=====================================
.github/workflows/pr-automation.yml
=====================================
@@ -0,0 +1,27 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+name: PR Automation
+on:
+  pull_request_target:
+    types:
+      - closed
+
+jobs:
+  pr-automation:
+    name: PR Automation
+    uses: apache/maven-gh-actions-shared/.github/workflows/pr-automation.yml at v4


=====================================
.github/workflows/release-drafter.yml
=====================================
@@ -0,0 +1,30 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+   
+name: Release Drafter
+on:
+  push:
+    branches:
+      - maven-install-plugin-3.x
+    workflow_dispatch:
+
+jobs:
+   update_release_draft:
+      uses: apache/maven-gh-actions-shared/.github/workflows/release-drafter.yml at v4
+      with:
+        config-name: 'release-drafter-3.x.yml'
+


=====================================
README.md
=====================================
@@ -17,8 +17,8 @@
 Contributing to [Apache Maven Install Plugin](https://maven.apache.org/plugins/maven-install-plugin/)
 ======================
 
-[![ASF Jira](https://img.shields.io/endpoint?url=https%3A%2F%2Fmaven.apache.org%2Fbadges%2Fasf_jira-MINSTALL.json)][jira]
 [![Apache License, Version 2.0, January 2004](https://img.shields.io/github/license/apache/maven.svg?label=License)][license]
+[![Maven Central](https://img.shields.io/maven-central/v/org.apache.maven.plugins/maven-install-plugin.svg?label=Maven%20Central&versionPrefix=3.)](https://search.maven.org/artifact/org.apache.maven.plugins/maven-install-plugin)
 [![Maven Central](https://img.shields.io/maven-central/v/org.apache.maven.plugins/maven-install-plugin.svg?label=Maven%20Central)](https://search.maven.org/artifact/org.apache.maven.plugins/maven-install-plugin)
 [![Reproducible Builds](https://img.shields.io/badge/Reproducible_Builds-ok-green?labelColor=blue)](https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/org/apache/maven/plugins/maven-install-plugin/README.md)
 [![Jenkins Status](https://img.shields.io/jenkins/s/https/ci-maven.apache.org/job/Maven/job/maven-box/job/maven-install-plugin/job/master.svg?)][build]
@@ -34,7 +34,6 @@ things.
 Getting Started
 ---------------
 
-+ Make sure you have a [JIRA account](https://issues.apache.org/jira/).
 + Make sure you have a [GitHub account](https://github.com/signup/free).
 + If you're planning to implement a new feature, it makes sense to discuss your changes 
   on the [dev list][ml-list] first. 
@@ -60,25 +59,12 @@ There are some guidelines which will make applying PRs easier for us:
   + Create minimal diffs - disable on save actions like reformat source code or organize imports. 
     If you feel the source code should be reformatted, create a separate PR for this change.
   + Check for unnecessary whitespace with `git diff --check` before committing.
-+ Make sure your commit messages are in the proper format. Your commit message should contain the key of the JIRA issue.
-```
-[MINSTALL-XXX] - Subject of the JIRA Ticket
- Optional supplemental description.
-```
 + Make sure you have added the necessary tests (JUnit/IT) for your changes.
 + Run all the tests with `mvn -Prun-its verify` to assure nothing else was accidentally broken.
 + Submit a pull request to the repository in the Apache organization.
-+ Update your JIRA ticket and include a link to the pull request in the ticket.
 
 If you plan to contribute on a regular basis, please consider filing a [contributor license agreement][cla].
 
-Making Trivial Changes
-----------------------
-
-For changes of a trivial nature to comments and documentation, it is not always
-necessary to create a new ticket in JIRA.  In this case, it is appropriate to
-start the first line of a commit with '(doc)' instead of a ticket number.
-
 Additional Resources
 --------------------
 
@@ -88,9 +74,7 @@ Additional Resources
 + [General GitHub documentation](https://help.github.com/)
 + [GitHub pull request documentation](https://help.github.com/send-pull-requests/)
 + [Apache Maven Twitter Account](https://twitter.com/ASFMavenProject)
-+ #Maven IRC channel on freenode.org
 
-[jira]: https://issues.apache.org/jira/projects/MINSTALL/
 [license]: https://www.apache.org/licenses/LICENSE-2.0
 [ml-list]: https://maven.apache.org/mailing-lists.html
 [code-style]: https://maven.apache.org/developers/conventions/code.html


=====================================
pom.xml
=====================================
@@ -28,7 +28,7 @@
   </parent>
 
   <artifactId>maven-install-plugin</artifactId>
-  <version>3.1.3</version>
+  <version>3.1.4</version>
   <packaging>maven-plugin</packaging>
 
   <name>Apache Maven Install Plugin</name>
@@ -52,12 +52,12 @@
   <scm>
     <connection>scm:git:https://gitbox.apache.org/repos/asf/maven-install-plugin.git</connection>
     <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/maven-install-plugin.git</developerConnection>
-    <tag>maven-install-plugin-3.1.3</tag>
+    <tag>maven-install-plugin-3.1.4</tag>
     <url>https://github.com/apache/maven-install-plugin/tree/${project.scm.tag}</url>
   </scm>
   <issueManagement>
-    <system>jira</system>
-    <url>https://issues.apache.org/jira/browse/MINSTALL</url>
+    <system>GitHub</system>
+    <url>https://github.com/apache/maven-install-plugin/issues</url>
   </issueManagement>
   <ciManagement>
     <system>Jenkins</system>
@@ -72,9 +72,9 @@
 
   <properties>
     <javaVersion>8</javaVersion>
-    <mavenVersion>3.9.6</mavenVersion>
+    <mavenVersion>3.9.9</mavenVersion>
     <!-- Maven bound -->
-    <resolverVersion>1.9.18</resolverVersion>
+    <resolverVersion>1.9.22</resolverVersion>
     <!-- Maven bound -->
     <slf4jVersion>1.7.36</slf4jVersion>
 
@@ -88,7 +88,7 @@
     <mavenSourcePluginVersion>${version.maven-source-plugin}</mavenSourcePluginVersion>
     <mavenSurefirePluginVersion>${version.maven-surefire}</mavenSurefirePluginVersion>
 
-    <project.build.outputTimestamp>2024-08-15T19:40:47Z</project.build.outputTimestamp>
+    <project.build.outputTimestamp>2025-02-24T06:39:48Z</project.build.outputTimestamp>
   </properties>
 
   <dependencies>
@@ -173,7 +173,7 @@
     <dependency>
       <groupId>org.mockito</groupId>
       <artifactId>mockito-core</artifactId>
-      <version>4.8.1</version>
+      <version>4.11.0</version>
       <scope>test</scope>
     </dependency>
     <dependency>


=====================================
src/main/java/org/apache/maven/plugins/install/InstallFileMojo.java
=====================================
@@ -43,7 +43,6 @@ import org.apache.maven.plugin.MojoFailureException;
 import org.apache.maven.plugins.annotations.Component;
 import org.apache.maven.plugins.annotations.Mojo;
 import org.apache.maven.plugins.annotations.Parameter;
-import org.codehaus.plexus.util.FileUtils;
 import org.codehaus.plexus.util.StringUtils;
 import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
 import org.eclipse.aether.DefaultRepositoryCache;
@@ -442,18 +441,6 @@ public class InstallFileMojo extends AbstractMojo {
 
     // these below should be shared (duplicated in m-install-p, m-deploy-p)
 
-    /**
-     * Specialization of {@link FileUtils#getExtension(String)} that honors various {@code tar.xxx} combinations.
-     */
-    private String getExtension(final File file) {
-        String filename = file.getName();
-        if (filename.contains(".tar.")) {
-            return "tar." + FileUtils.getExtension(filename);
-        } else {
-            return FileUtils.getExtension(filename);
-        }
-    }
-
     /**
      * Returns {@code true} if passed in string is "valid Maven ID" (groupId or artifactId).
      */


=====================================
src/site/site.xml
=====================================
@@ -25,7 +25,7 @@ under the License.
   <body>
     <menu name="Overview">
       <item name="Introduction" href="index.html"/>
-      <item name="Goals" href="plugin-info.html"/>
+      <item name="Plugin Documentation" href="plugin-info.html"/>
       <item name="Usage" href="usage.html"/>
       <item name="FAQ" href="faq.html"/>
       <!-- According to https://issues.apache.org/jira/browse/MNGSITE-152 -->



View it on GitLab: https://salsa.debian.org/java-team/maven-install-plugin/-/commit/ab72ae056a0c6ce7302e03abe9ea1d86bbc19c2f

-- 
View it on GitLab: https://salsa.debian.org/java-team/maven-install-plugin/-/commit/ab72ae056a0c6ce7302e03abe9ea1d86bbc19c2f
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20250303/786c05bc/attachment.htm>


More information about the pkg-java-commits mailing list