Permalink
Browse files

Merge pull request #2 from rnc/BR1

Make target directory
  • Loading branch information...
2 parents 6f7d1aa + 96291d0 commit 6a9887918e9a3918bbf65a501ff506294c10dc4b @jdcasey committed May 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/commonjava/maven/plugins/migrate/MainArtifactGoal.java
@@ -93,11 +93,11 @@ public void execute()
getLog().warn( "NOTE: Discarding pre-existing main-artifact file:\n "
+ project.getArtifact().getFile() );
}
-
if ( copyLocal )
{
final String ext = project.getArtifact().getArtifactHandler().getExtension();
final File dest = new File( targetDir, finalName + "." + ext );
+ targetDir.mkdirs ();
getLog().info( "Copying main artifact from: " + mainArtifact + " to: " + dest + " for project: "
+ project.getId() );

0 comments on commit 6a98879

Please sign in to comment.