You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2014/02/15 19:16:57 UTC

svn commit: r1568656 - /maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java

Author: rfscholte
Date: Sat Feb 15 18:16:56 2014
New Revision: 1568656

URL: http://svn.apache.org/r1568656
Log:
[MDEPLOY-174] [REGRESSION] url not required anymore, causing a NullPointerException
Fix required-marker and @since doclettags which were lost after MDEPLOY-151

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=1568656&r1=1568655&r2=1568656&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 Feb 15 18:16:56 2014
@@ -114,12 +114,16 @@ public class DeployFileMojo
 
     /**
      * The bundled API docs for the artifact.
+     * 
+     * @since 2.6
      */
     @Parameter( property = "javadoc" )
     private File javadoc;
 
     /**
      * The bundled sources for the artifact.
+     * 
+     * @since 2.6
      */
     @Parameter( property = "sources" )
     private File sources;
@@ -141,7 +145,7 @@ public class DeployFileMojo
      * URL where the artifact will be deployed. <br/>
      * ie ( file:///C:/m2-repo or scp://host.com/path/to/repo )
      */
-    @Parameter( property = "url" )
+    @Parameter( property = "url", required = true )
     private String url;
 
     /**