Okeanos commented on code in PR #130:
URL: 
https://github.com/apache/maven-toolchains-plugin/pull/130#discussion_r2524493171


##########
src/main/java/org/apache/maven/plugins/toolchain/jdk/ToolchainDiscoverer.java:
##########
@@ -449,8 +456,11 @@ private Set<Path> doFindJdks() {
         } else {
             installedDirs.add(Paths.get("/usr/jdk"));
             installedDirs.add(Paths.get("/usr/java"));
+            installedDirs.add(Paths.get("/usr/local/java"));

Review Comment:
   This is based on the proposed alignment with the Gradle toolchain detection 
I mentioned in #129 – the original proposal for Gradle is documented in 
https://github.com/gradle/gradle/issues/23620 and boils down to "people put it 
there during manual installations as common default".
   
   I have no strong opinion on this and I am willing to exclude this particular 
search folder as it is a "customary" but ultimately a user-defined location.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to