Skip to content

Commit

Permalink
Tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
cstamas committed Aug 15, 2024
1 parent 2280027 commit cfb4a8f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
*/
@Mojo(name = "deploy-file", requiresProject = false, threadSafe = true)
public class DeployFileMojo extends AbstractDeployMojo {
private final Logger log = LoggerFactory.getLogger(DeployFileMojo.class);
private final Logger log = LoggerFactory.getLogger(getClass());
/**
* GroupId of the artifact to be deployed. Retrieved from POM file if specified.
*/
Expand Down Expand Up @@ -208,7 +208,7 @@ void initProperties() throws MojoExecutionException {
JarEntry entry = jarEntries.nextElement();

if (pomEntry.matcher(entry.getName()).matches()) {
log.debug("Using " + entry.getName() + " as pomFile");
log.debug("Using {} as pomFile", entry.getName());
foundPom = true;
String base = file.getName();
if (base.indexOf('.') > 0) {
Expand All @@ -227,7 +227,7 @@ void initProperties() throws MojoExecutionException {
}

if (!foundPom) {
log.info("pom.xml not found in " + file.getName());
log.info("pom.xml not found in {}", file.getName());
}
} catch (IOException e) {
// ignore, artifact not packaged by Maven
Expand Down

0 comments on commit cfb4a8f

Please sign in to comment.