You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by gn...@apache.org on 2021/10/11 08:34:06 UTC

[maven-remote-resources-plugin] branch master updated: [MRRESOURCES-118] Require Maven 3.2.0 (fix previous commit)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new d5667e1  [MRRESOURCES-118] Require Maven 3.2.0 (fix previous commit)
d5667e1 is described below

commit d5667e1999568dfc2d83c6056d9a932a73038007
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Mon Oct 11 10:33:04 2021 +0200

    [MRRESOURCES-118] Require Maven 3.2.0 (fix previous commit)
---
 .../maven/plugin/resources/remote/ProcessRemoteResourcesMojo.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/maven/plugin/resources/remote/ProcessRemoteResourcesMojo.java b/src/main/java/org/apache/maven/plugin/resources/remote/ProcessRemoteResourcesMojo.java
index bc828ef..a2d7f72 100644
--- a/src/main/java/org/apache/maven/plugin/resources/remote/ProcessRemoteResourcesMojo.java
+++ b/src/main/java/org/apache/maven/plugin/resources/remote/ProcessRemoteResourcesMojo.java
@@ -652,7 +652,7 @@ public class ProcessRemoteResourcesMojo
             {
                 VersionRange rng = VersionRange.createFromVersion( artifact.getBaseVersion() );
                 artifact = new DefaultArtifact( artifact.getGroupId(), artifact.getArtifactId(), rng,
-                                                artifact.getType(), artifact.getClassifier(), artifact.getScope(),
+                                                artifact.getScope(), artifact.getType(), artifact.getClassifier(),
                                                 artifact.getArtifactHandler(), artifact.isOptional() );
             }