takari / maven-wrapper

The easiest way to integrate Maven into your project!
Apache License 2.0
1.59k stars 234 forks source link

JAVA_HOME #145

Closed nnar1o closed 5 years ago

nnar1o commented 5 years ago

Is it possible to automatically set proper JAVA_HOME in the wrapper? i.e.: mvn -N io.takari:maven:0.7.6:wrapper -Djava_home=....

I want to use different jdk version per project.

mosabua commented 5 years ago

Thats outside the scope of the wrapper since Maven needs to know about this as well.