Return-Path: X-Original-To: apmail-maven-commits-archive@www.apache.org Delivered-To: apmail-maven-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B46CC483B for ; Sat, 4 Jun 2011 14:14:10 +0000 (UTC) Received: (qmail 56885 invoked by uid 500); 4 Jun 2011 14:14:10 -0000 Delivered-To: apmail-maven-commits-archive@maven.apache.org Received: (qmail 56713 invoked by uid 500); 4 Jun 2011 14:14:10 -0000 Mailing-List: contact commits-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list commits@maven.apache.org Received: (qmail 56706 invoked by uid 99); 4 Jun 2011 14:14:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Jun 2011 14:14:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Jun 2011 14:14:07 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id AD0C92388A39; Sat, 4 Jun 2011 14:13:46 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@maven.apache.org From: bimargulies@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110604141346.AD0C92388A39@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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.
+ * 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}" */