Johannes Ernst created MASSEMBLY-757: ----------------------------------------
Summary: Warning complains that 'classifier' is missing, but getClassifier() always returns null Key: MASSEMBLY-757 URL: https://jira.codehaus.org/browse/MASSEMBLY-757 Project: Maven Assembly Plugin Issue Type: Bug Reporter: Johannes Ernst Got Warning: Configuration options: 'appendAssemblyId' is set to false, and 'classifier' is missing. Instead of attaching the assembly file: ..., it will become the file for main project artifact. in spite of setting <classifier> (which coincidentally is marked as deprecated). Poking around the source code, I find in http://svn.apache.org/viewvc/maven/plugins/tags/maven-assembly-plugin-2.5.3/src/main/java/org/apache/maven/plugin/assembly/mojos/AbstractAssemblyMojo.java?view=markup: 763 public String getClassifier() 764 { 765 // TODO Auto-generated method stub 766 return null; 767 } So it seems to me that this warning is incorrect. Also, simply zeroing out a set, even deprecated field, seems not so nice, without any notice. I am puzzled by the auto-generated method stub though. -- This message was sent by Atlassian JIRA (v6.1.6#6162)