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 2020/03/30 16:59:21 UTC

[maven-dependency-plugin] branch coll created (now 00fcb78)

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

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


      at 00fcb78  update to collections4

This branch includes the following new commits:

     new 00fcb78  update to collections4

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: update to collections4

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

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

commit 00fcb78ddc5205646c336d5775db7c61cf4da4ed
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Mon Mar 30 12:59:08 2020 -0400

    update to collections4
---
 pom.xml                                                             | 6 +++---
 .../maven/plugins/dependency/analyze/AnalyzeDuplicateMojo.java      | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index 8abf233..2552d8b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -257,9 +257,9 @@ under the License.
     </dependency>
 
     <dependency>
-      <groupId>commons-collections</groupId>
-      <artifactId>commons-collections</artifactId>
-      <version>3.2.2</version>
+      <groupId>org.apache.commons</groupId>
+      <artifactId>commons-collections4</artifactId>
+      <version>4.2</version>
     </dependency>
 
     <dependency>
diff --git a/src/main/java/org/apache/maven/plugins/dependency/analyze/AnalyzeDuplicateMojo.java b/src/main/java/org/apache/maven/plugins/dependency/analyze/AnalyzeDuplicateMojo.java
index 4c82742..ee06f57 100644
--- a/src/main/java/org/apache/maven/plugins/dependency/analyze/AnalyzeDuplicateMojo.java
+++ b/src/main/java/org/apache/maven/plugins/dependency/analyze/AnalyzeDuplicateMojo.java
@@ -27,7 +27,7 @@ import java.util.LinkedHashSet;
 import java.util.List;
 import java.util.Set;
 
-import org.apache.commons.collections.CollectionUtils;
+import org.apache.commons.collections4.CollectionUtils;
 import org.apache.maven.model.Dependency;
 import org.apache.maven.model.Model;
 import org.apache.maven.model.io.xpp3.MavenXpp3Reader;