Skip to content

Commit 658625b

Browse files
committed
Fix wrong Toolchain message
1 parent f2df06d commit 658625b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ public void execute() {
665665
// use the compilerId as identifier for toolchains as well.
666666
Optional<Toolchain> tc = getToolchain();
667667
if (tc.isPresent()) {
668-
getLog().info("Toolchain in maven-compiler-plugin: " + tc);
668+
getLog().info("Toolchain in maven-compiler-plugin: " + tc.get());
669669
if (executable != null) {
670670
getLog().warn("Toolchains are ignored, 'executable' parameter is set to " + executable);
671671
} else {

0 commit comments

Comments
 (0)