Skip to content

Commit

Permalink
Removed line ref, added prefix for matching the right log part
Browse files Browse the repository at this point in the history
  • Loading branch information
juulhobert committed Jul 12, 2024
1 parent 6c28e17 commit 50263d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ public void testIt() throws Exception {
verifier.addCliArgument("compile");
verifier.execute();

verifier.verifyTextInLog("[INFO] bom-intermediate-1.0-SNAPSHOT.pom @ 8:3");
verifier.verifyTextInLog("[IMPORTED FROM] bom-intermediate-1.0-SNAPSHOT.pom");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public void execute() throws MojoExecutionException, MojoFailureException {
.forEach(dependency -> {
getLog().info("" + dependency);
try {
getLog().info(getImportedFrom(dependency));
getLog().info("[IMPORTED FROM] " + getImportedFrom(dependency));
} catch (Exception ex) {
getLog().error("Failed to get importedFrom");
}
Expand Down

0 comments on commit 50263d6

Please sign in to comment.