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 2022/05/29 11:10:23 UTC

[maven-enforcer] branch MENFORCER-419 created (now 4147f7a)

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

sjaranowski pushed a change to branch MENFORCER-419
in repository https://gitbox.apache.org/repos/asf/maven-enforcer.git


      at 4147f7a  [MENFORCER-419] Upgrade Maven to 3.2.5

This branch includes the following new commits:

     new 4147f7a  [MENFORCER-419] Upgrade Maven to 3.2.5

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-enforcer] 01/01: [MENFORCER-419] Upgrade Maven to 3.2.5

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

sjaranowski pushed a commit to branch MENFORCER-419
in repository https://gitbox.apache.org/repos/asf/maven-enforcer.git

commit 4147f7a85ef987dff361bda973004ed748060030
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Sun May 29 13:09:55 2022 +0200

    [MENFORCER-419] Upgrade Maven to 3.2.5
---
 .../org/apache/maven/plugins/enforcer/RequireUpperBoundDeps.java     | 5 +----
 pom.xml                                                              | 4 ++--
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireUpperBoundDeps.java b/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireUpperBoundDeps.java
index ba1ded6..1ebe3d2 100644
--- a/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireUpperBoundDeps.java
+++ b/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/RequireUpperBoundDeps.java
@@ -26,10 +26,7 @@ import java.util.List;
 import java.util.Map;
 
 import org.apache.maven.artifact.Artifact;
-import org.apache.maven.artifact.factory.ArtifactFactory;
-import org.apache.maven.artifact.metadata.ArtifactMetadataSource;
 import org.apache.maven.artifact.repository.ArtifactRepository;
-import org.apache.maven.artifact.resolver.ArtifactCollector;
 import org.apache.maven.artifact.resolver.filter.ArtifactFilter;
 import org.apache.maven.artifact.versioning.ArtifactVersion;
 import org.apache.maven.artifact.versioning.DefaultArtifactVersion;
@@ -112,7 +109,7 @@ public class RequireUpperBoundDeps
     // CHECKSTYLE_OFF: LineLength
     /**
      * Uses the {@link EnforcerRuleHelper} to populate the values of the
-     * {@link DependencyTreeBuilder#buildDependencyTree(MavenProject, ArtifactRepository, ArtifactFactory, ArtifactMetadataSource, ArtifactFilter, ArtifactCollector)}
+     * {@link DependencyCollectorBuilder#collectDependencyGraph(ProjectBuildingRequest, ArtifactFilter)} 
      * factory method. <br/>
      * This method simply exists to hide all the ugly lookup that the {@link EnforcerRuleHelper} has to do.
      *
diff --git a/pom.xml b/pom.xml
index d186c4d..91c04bd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -65,7 +65,7 @@
   </distributionManagement>
 
   <properties>
-    <maven.version>3.1.1</maven.version>
+    <maven.version>3.2.5</maven.version>
     <maven.site.path>enforcer-archives/enforcer-LATEST</maven.site.path>
     <javaVersion>8</javaVersion>
     <mockito.version>4.5.1</mockito.version>
@@ -180,7 +180,7 @@
       <dependency>
         <groupId>org.assertj</groupId>
         <artifactId>assertj-core</artifactId>
-        <version>3.22.0</version><!-- Java 7 -->
+        <version>3.22.0</version>
       </dependency>
     </dependencies>
   </dependencyManagement>