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/15 16:51:57 UTC
[maven-remote-resources-plugin] branch get-rid-of-build-warnings-and-typo created (now 6022034)
This is an automated email from the ASF dual-hosted git repository.
cstamas pushed a change to branch get-rid-of-build-warnings-and-typo
in repository https://gitbox.apache.org/repos/asf/maven-remote-resources-plugin.git
at 6022034 Get rid of build warnings and obvious typo
This branch includes the following new commits:
new 6022034 Get rid of build warnings and obvious typo
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-remote-resources-plugin] 01/01: Get rid of build warnings and obvious typo
Posted by cs...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
cstamas pushed a commit to branch get-rid-of-build-warnings-and-typo
in repository https://gitbox.apache.org/repos/asf/maven-remote-resources-plugin.git
commit 60220346efc9f55358a09751deb023c73eeb391d
Author: Tamas Cservenak <ta...@cservenak.net>
AuthorDate: Wed Feb 15 17:51:11 2023 +0100
Get rid of build warnings and obvious typo
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;
}