I tried to replace maven 3.1.1 with maven 3.3.1. After replacing all paths and M2_HOMe to new address, i have ran the build in my Idea IDE and got the subj message.
Unfortunately, can't get what is the problem of the build and why it is no longer working with new maven
Set M2_HOME & PATHCreate an environment variable named M2_HOME which refers to directory where maven was untarred/ unzipped. and then add this variable to PATH environment variable. $>export PATH=$M2_HOME/bin:$PATH. Click OK, then Edit the 'Path' user variable to add M2_HOME\bin folder in it.
So you can just add the maven bin path to it. No need to add any system variable at all.
It is a know bug in IntelliJ https://youtrack.jetbrains.com/issue/IDEA-137783
Just update Intellij and it will work :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With