maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bimargul...@apache.org
Subject svn commit: r1131407 - /maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java
Date Sat, 04 Jun 2011 14:13:46 GMT
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&gt 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 &lt;packaging&gt; element

+     * for the entire POM, and the &lt;type&gt; element in a dependency specification.
+     * 
      *
      * @parameter expression="${packaging}"
      */



Mime
View raw message