Maven builds the mvc framework

Maven is a tool for project construction, through which the project life cycle is conveniently managed. That is, the project's jar package dependencies, development, testing, and release packaging.

First, build the environment
1, download the appropriate version of apache-maven-3.3.3 and install it on the computer.
2. Configure the environment Maven environment variables, and the new variable MAVEN_HOME value is Maven's bin directory <%M2_HOME%\bin>.
   System variable: MAVEN_HOME =E:\work\apache-maven-3.3.3
   User variable: path = %MAVEN_HOME%\bin
3, enter the command mven -v in the win window mode to output maven information, indicating that the installation is successful. (jdk needs to be installed).

Second, parameter configuration
1., configure the storage location of the jar package warehouse (find the settings.xml configuration file under conf under maven, mine is in E:\work\apache-maven-3.3.3 \conf\settings.xml)

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326939976&siteId=291194637