Blob Blame History Raw
--- maven-jar-plugin-3.2.2/src/main/java/org/apache/maven/plugins/jar/AbstractJarMojo.java	2022-03-29 15:50:36.249589766 +0200
+++ maven-jar-plugin-3.2.2/src/main/java/org/apache/maven/plugins/jar/AbstractJarMojo.java	2022-03-29 15:51:59.054148728 +0200
@@ -317,7 +317,7 @@
             {
                 if ( projectHasAlreadySetAnArtifact() )
                 {
-                    throw new MojoExecutionException( "You have to use a classifier "
+                    getLog().warn( "You have to use a classifier "
                         + "to attach supplemental artifacts to the project instead of replacing them." );
                 }
                 getProject().getArtifact().setFile( jarFile );