Pablo Grisafi created MNG-7121:
----------------------------------

             Summary: better support for multiple SDK
                 Key: MNG-7121
                 URL: https://issues.apache.org/jira/browse/MNG-7121
             Project: Maven
          Issue Type: New Feature
          Components: core
            Reporter: Pablo Grisafi


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)

Reply via email to