You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2024/10/14 15:04:46 UTC

(maven-dependency-plugin) branch fixed created (now a8bfc6ae)

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

elharo pushed a change to branch fixed
in repository https://gitbox.apache.org/repos/asf/maven-dependency-plugin.git


      at a8bfc6ae Remove workaround for fixed bug

This branch includes the following new commits:

     new a8bfc6ae Remove workaround for fixed bug

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(maven-dependency-plugin) 01/01: Remove workaround for fixed bug

Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

elharo pushed a commit to branch fixed
in repository https://gitbox.apache.org/repos/asf/maven-dependency-plugin.git

commit a8bfc6ae9cd2485d302294a70f2863340a02bff1
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Mon Oct 14 11:04:39 2024 -0400

    Remove workaround for fixed bug
---
 .../apache/maven/plugins/dependency/analyze/AbstractAnalyzeMojo.java   | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/main/java/org/apache/maven/plugins/dependency/analyze/AbstractAnalyzeMojo.java b/src/main/java/org/apache/maven/plugins/dependency/analyze/AbstractAnalyzeMojo.java
index 35b287ec..7f1b43b1 100644
--- a/src/main/java/org/apache/maven/plugins/dependency/analyze/AbstractAnalyzeMojo.java
+++ b/src/main/java/org/apache/maven/plugins/dependency/analyze/AbstractAnalyzeMojo.java
@@ -504,9 +504,6 @@ public abstract class AbstractAnalyzeMojo extends AbstractMojo {
             PrettyPrintXMLWriter writer = new PrettyPrintXMLWriter(out);
 
             for (Artifact artifact : artifacts) {
-                // called because artifact will set the version to -SNAPSHOT only if I do this. MNG-2961
-                artifact.isSnapshot();
-
                 writer.startElement("dependency");
                 writer.startElement("groupId");
                 writer.writeText(artifact.getGroupId());