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() )
{