Polish
This commit is contained in:
parent
0253f21f2f
commit
135e9d10a6
|
@ -183,7 +183,7 @@ public class AuthenticationManagerConfiguration {
|
||||||
ReflectionUtils.makeAccessible(field);
|
ReflectionUtils.makeAccessible(field);
|
||||||
ReflectionUtils.setField(field, target, value);
|
ReflectionUtils.setField(field, target, value);
|
||||||
}
|
}
|
||||||
catch (Exception e) {
|
catch (Exception ex) {
|
||||||
logger.info("Could not set " + name);
|
logger.info("Could not set " + name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -186,11 +186,9 @@ public class RepackageMojo extends AbstractDependencyFilterMojo {
|
||||||
if (classifier.length() > 0 && !classifier.startsWith("-")) {
|
if (classifier.length() > 0 && !classifier.startsWith("-")) {
|
||||||
classifier = "-" + classifier;
|
classifier = "-" + classifier;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.outputDirectory.exists()) {
|
if (!this.outputDirectory.exists()) {
|
||||||
this.outputDirectory.mkdirs();
|
this.outputDirectory.mkdirs();
|
||||||
}
|
}
|
||||||
|
|
||||||
return new File(this.outputDirectory, this.finalName + classifier + "."
|
return new File(this.outputDirectory, this.finalName + classifier + "."
|
||||||
+ this.project.getArtifact().getArtifactHandler().getExtension());
|
+ this.project.getArtifact().getArtifactHandler().getExtension());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue