What are the default values for maven requireJavaVersion enforce rule

249 Views Asked by At

I have a maven project where I do not specify anything about what java version that needs to be enforced, however it seems that [1.8.0-31,1.9) is picked up and fails my project as I'm using 1.7.0-72.

Is this controlled by what version of maven-enforcer-plugin is used ? This would be maven-enforcer-plugin:1.4:enforce in my case. I also have no references to this in settings.xml.

I'm running on OSX where I do in fact have 1.8.0-31 installed, but not currently set as active.

Any ideas/pointers where/what I should look at to find out why [1.8.0-31,1.9) is enforced ?

Cheers, Niklas

0

There are 0 best solutions below