Reputation: 3002
When doing a build from IntelliJ
I get the error saying
org.apache.maven.plugins.enforcer.RequireMavenVersion failed with message:
Detected Maven Version: 3.3.9 is not in the allowed range 3.6.0.
My maven Version is 3.3.9
and this is the one I want to stick to. I do recall when opening IntelliJ
for the first time, going through a UI which asked me to specify a minimum and a maximum version for Maven
and I did indeed specify 3.6
as a minimum. However I struggle to find the same settings at this point. Can someone point me to where IntelliJ
's settings for Maven
version boundaries are?
I'm using IntelliJ 2017.3.5
Upvotes: 0
Views: 1186
Reputation:
You can try this path
-> Menu > Preferences > Type: Maven or Go to Building, Execution: Maven > select your version - 3.3.9 from Maven home directory: dropwdown
Make sure you downloaded and set maven environment as global variables on your PC
Upvotes: 1