Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ private void doExecute() throws MisconfiguredToolchainException, MojoFailureExce
ToolchainPrivate tc = factory.createToolchain(tcm);
if (tc != null && matches(tc, requirements)) {
toolchain = tc;
getLog().debug("Discovered matching JDK toolchain: " + toolchain);
getLog().info("Discovered matching JDK toolchain: " + toolchain);
break;
}
}
Expand All @@ -223,13 +223,13 @@ private void doExecute() throws MisconfiguredToolchainException, MojoFailureExce
if (useJdk == JdkMode.IfSame
&& currentJdkToolchain != null
&& Objects.equals(getJdkHome(currentJdkToolchain), getJdkHome(toolchain))) {
getLog().debug("Not using an external toolchain as the current JDK '" + currentJdkToolchain
getLog().info("Not using an external toolchain as the current JDK '" + currentJdkToolchain
+ "' has been selected.");
return;
}

toolchainManager.storeToolchainToBuildContext(toolchain, session);
getLog().debug("Found matching JDK toolchain: " + toolchain);
getLog().info("Selected JDK toolchain: " + toolchain);
}

private boolean matches(ToolchainPrivate tc, Map<String, String> requirements) {
Expand Down