Author: bimargulies Date: Sat Jun 4 14:13:46 2011 New Revision: 1131407 URL: http://svn.apache.org/viewvc?rev=1131407&view=rev Log: [MDEPLOY-132] Add more explanation to packaging versus type as it reflects off of -Dpackaging.
Modified: maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java Modified: maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java?rev=1131407&r1=1131406&r2=1131407&view=diff ============================================================================== --- maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java (original) +++ maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java Sat Jun 4 14:13:46 2011 @@ -98,8 +98,12 @@ public class DeployFileMojo private String version; /** - * Type of the artifact to be deployed. Retrieved from POM file if specified. - * Defaults to file extension if not specified via command line or POM. + * Type of the artifact to be deployed. + * Retrieved from the <packaging> element of the POM file if a POM file specified. + * Defaults to the file extension if it is not specified via command line or POM.<br/> + * Maven uses two terms to refer to this datum: the <packaging> element + * for the entire POM, and the <type> element in a dependency specification. + * * * @parameter expression="${packaging}" */