[ https://issues.apache.org/jira/browse/MNG-7121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17304531#comment-17304531 ]
Karl Heinz Marbaise commented on MNG-7121: ------------------------------------------ Tools like sdkman, jenv etc. are handling the JDK part very well. Furthermore JDK's are not available from Central nor downloadable from Central repository. > better support for multiple JDK > ------------------------------- > > Key: MNG-7121 > URL: https://issues.apache.org/jira/browse/MNG-7121 > Project: Maven > Issue Type: New Feature > Components: core > Reporter: Pablo Grisafi > Priority: Major > > Java evolves at a much faster pace now. In the compay I work for we have > projects on Java 6 (sadly yes), 8, 11 and 15. > > The toolchains plugin helps, but it involves manually editing an xml file, > and in my experience people tend to forget about it. > > I think a better user experiense would be a ~/.m2/jdks folder, with one > subfolder per jdk, a little like sdkman does it. > Maven could even automaticlly download the one you need for a specific > project if it is not already present, like it does with any dependency. It > will be more portable and less manual work. Dependency handling and jdk > handling will be managed be maven in a consistent way, cloning a project from > github will be way more straightforward. -- This message was sent by Atlassian Jira (v8.3.4#803005)