1. Download Maven zip file from here.
2. Unzip and Extract. (My path was C:\Program Files\Maven\apache-maven-3.3.9)
3. Set up M2_HOME and MAVEN_HOME by pointing to Maven directory. (Maven document says to add M2_HOME only, but some programs still reference Maven folder with MAVEN_HOME, so, it’s safer to add both.)
4. Add bin to PATH using %M2_HOME%\bin
5. Verify by running the following in command prompt: mvn -version . You should see a response like so:
That’s it, just folders and files, no installation needed for Maven.
No comments:
Post a Comment