Merge branch '1.2.x'

This commit is contained in:
Phillip Webb
2015-06-15 11:38:24 -07:00
7 changed files with 84 additions and 54 deletions

View File

@@ -213,11 +213,9 @@ public class RepackageMojo extends AbstractDependencyFilterMojo {
if (classifier.length() > 0 && !classifier.startsWith("-")) {
classifier = "-" + classifier;
}
if (!this.outputDirectory.exists()) {
this.outputDirectory.mkdirs();
}
return new File(this.outputDirectory, this.finalName + classifier + "."
+ this.project.getArtifact().getArtifactHandler().getExtension());
}