This article is a mirror article of machine translation, please click here to jump to the original article.

View: 2463|Reply: 0

[Source] Download and install the configuration tutorial for Windows Maven

[Copy link]
Posted on 4/9/2024 7:25:57 PM | | | |
First, download the zip package from the official website, address:The hyperlink login is visible., as shown in the figure below:



Installation Tutorial:The hyperlink login is visible.

According to your own situation, unzip the downloaded compressed package to a certain directory. For example: C:\Java\apache-maven-3.9.6

Then, add the bin folder below the directory to the environment variable, for example:C:\Java\apache-maven-3.9.6\bin, as shown in the figure below:



Create a new cmd window to view the version information, and the output is as follows:



There are many configurations on the web for MAVEN_HOME and M2_HOME environments:

MAVEN_HOME for MAVEN 1, M2_HOME for MAVEN 2 and later.
Maven2 is a complete rewrite of Maven1 and is not backwards compatible.

Starting with maven 3.5.0,These two environment variables should not be specified

Reference:The hyperlink login is visible.





Previous:start.spring.io Unable to create Java 8 projects
Next:MySQL 8.0.36 installation tutorial under Windows
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com