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 <[email protected]> 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; }
