You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by br...@apache.org on 2006/03/03 13:37:23 UTC
svn commit: r382788 -
/maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java
Author: brett
Date: Fri Mar 3 04:37:23 2006
New Revision: 382788
URL: http://svn.apache.org/viewcvs?rev=382788&view=rev
Log:
fix test case
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/viewcvs/maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java?rev=382788&r1=382787&r2=382788&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 Fri Mar 3 04:37:23 2006
@@ -146,7 +146,7 @@
private boolean uniqueVersion;
- public void execute()
+ protected void initProperties()
throws MojoExecutionException
{
// Process the supplied POM (if there is one)
@@ -164,6 +164,12 @@
{
throw new MojoExecutionException( "Missing group, artifact, version, or packaging information" );
}
+ }
+
+ public void execute()
+ throws MojoExecutionException
+ {
+ initProperties();
if ( !file.exists() )
{