You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by cs...@apache.org on 2023/02/18 11:48:21 UTC

[maven-remote-resources-plugin] branch master updated: Get rid of build warnings and obvious typo (#24)

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

cstamas 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 e7cc40d  Get rid of build warnings and obvious typo (#24)
e7cc40d is described below

commit e7cc40df2f5ee99cde90d1dc7308df719f1c1963
Author: Tamas Cservenak <ta...@cservenak.net>
AuthorDate: Sat Feb 18 12:48:16 2023 +0100

    Get rid of build warnings and obvious typo (#24)
    
    The build spits a lot of warnings due use of obsolete
    modello config,
    
    Also, the log was mixed up: was AGV not GAV.
---
 pom.xml                                                               | 2 --
 .../maven/plugin/resources/remote/ProcessRemoteResourcesMojo.java     | 4 ++--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index 7c58702..fab26a9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -289,7 +289,6 @@ under the License.
             </goals>
             <configuration>
               <version>1.1.0</version>
-              <useJava5>true</useJava5>
               <models>
                 <model>src/main/mdo/remote-resources.mdo</model>
               </models>
@@ -304,7 +303,6 @@ under the License.
             </goals>
             <configuration>
               <version>1.0.0</version>
-              <useJava5>true</useJava5>
               <models>
                 <model>src/main/mdo/supplemental-model.mdo</model>
               </models>
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 cedeb5d..4adbf31 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
@@ -672,8 +672,8 @@ public class ProcessRemoteResourcesMojo
             }
             catch ( ProjectBuildingException e )
             {
-                getLog().warn( "Invalid project model for artifact [" + artifact.getArtifactId() + ":"
-                                   + artifact.getGroupId() + ":" + artifact.getVersion() + "]. "
+                getLog().warn( "Invalid project model for artifact [" + artifact.getGroupId() + ":"
+                                   + artifact.getArtifactId() + ":" + artifact.getVersion() + "]. "
                                    + "It will be ignored by the remote resources Mojo." );
                 continue;
             }