This commit is contained in:
Phillip Webb 2015-06-15 10:52:02 -07:00
parent 0253f21f2f
commit 135e9d10a6
2 changed files with 1 additions and 3 deletions

View File

@ -183,7 +183,7 @@ public class AuthenticationManagerConfiguration {
ReflectionUtils.makeAccessible(field);
ReflectionUtils.setField(field, target, value);
}
catch (Exception e) {
catch (Exception ex) {
logger.info("Could not set " + name);
}
}

View File

@ -186,11 +186,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());
}