You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2008/10/26 11:38:17 UTC

svn commit: r707966 - /maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-artifact/src/main/java/org/apache/maven/plugin/coreit/AttachMojo.java

Author: bentmann
Date: Sun Oct 26 03:38:17 2008
New Revision: 707966

URL: http://svn.apache.org/viewvc?rev=707966&view=rev
Log:
o Removed default values to allow testing of defaults provided by core

Modified:
    maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-artifact/src/main/java/org/apache/maven/plugin/coreit/AttachMojo.java

Modified: maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-artifact/src/main/java/org/apache/maven/plugin/coreit/AttachMojo.java
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-artifact/src/main/java/org/apache/maven/plugin/coreit/AttachMojo.java?rev=707966&r1=707965&r2=707966&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-artifact/src/main/java/org/apache/maven/plugin/coreit/AttachMojo.java (original)
+++ maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-artifact/src/main/java/org/apache/maven/plugin/coreit/AttachMojo.java Sun Oct 26 03:38:17 2008
@@ -65,14 +65,19 @@
     private String attachedFile;
 
     /**
-     * @parameter expression="${artifact.artifactType}" default-value="jar"
+     * The type of the artifact to attach.
+     * 
+     * @parameter expression="${artifact.artifactType}"
      */
-    private String artifactType = "jar";
+    private String artifactType;
 
     /**
-     * @parameter expression="${artifact.artifactClassifier}" default-value="it"
+     * The classifier for the attached artifact. If unspecified, the default classifier for the specified artifact type
+     * is used.
+     * 
+     * @parameter expression="${artifact.artifactClassifier}"
      */
-    private String artifactClassifier = "it";
+    private String artifactClassifier;
 
     /**
      * Runs this mojo.