You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by gb...@apache.org on 2016/07/29 19:22:01 UTC
svn commit: r1754566 -
/maven/plugins/trunk/maven-assembly-plugin/src/main/java/org/apache/maven/plugins/assembly/mojos/AbstractAssemblyMojo.java
Author: gboue
Date: Fri Jul 29 19:22:01 2016
New Revision: 1754566
URL: http://svn.apache.org/viewvc?rev=1754566&view=rev
Log:
[MASSEMBLY-824] Use of appendAssemblyId and finalName can cause problems
Updated documentation to clarify that setting 'appendAssemblyId' to 'false' also removes the classifier and can lead to warnings about changing the file of the main project artifact.
Modified:
maven/plugins/trunk/maven-assembly-plugin/src/main/java/org/apache/maven/plugins/assembly/mojos/AbstractAssemblyMojo.java
Modified: maven/plugins/trunk/maven-assembly-plugin/src/main/java/org/apache/maven/plugins/assembly/mojos/AbstractAssemblyMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/main/java/org/apache/maven/plugins/assembly/mojos/AbstractAssemblyMojo.java?rev=1754566&r1=1754565&r2=1754566&view=diff
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/main/java/org/apache/maven/plugins/assembly/mojos/AbstractAssemblyMojo.java (original)
+++ maven/plugins/trunk/maven-assembly-plugin/src/main/java/org/apache/maven/plugins/assembly/mojos/AbstractAssemblyMojo.java Fri Jul 29 19:22:01 2016
@@ -72,7 +72,9 @@ public abstract class AbstractAssemblyMo
protected FixedStringSearchInterpolator rootInterpolator;
/**
- * Set to false to exclude the assembly id from the assembly final name.
+ * Set to false to exclude the assembly id from the assembly final name, and to create the resultant assembly
+ * artifacts without classifier. As such, an assembly artifact having the same format as the packaging of the
+ * current Maven project will replace the file for this main project artifact.
*/
@Parameter( property = "assembly.appendAssemblyId", defaultValue = "true" )
boolean appendAssemblyId;