MAVEN is a software project management and Understanding tool. Based on the idea of the POM (Project object model).
First, download and install:
Download the installation file Apache-maven-3.3.9-bin.zip.
Installing Maven is simple, as long as you add the bin directory in the Maven home directory to the PATH environment variable.
Enter the command mvn-v to check if the installation was successful.
Path=d:\java_workdir\apache-maven-3.3.9\bin
650) this.width=650; "title=" Test maven installation. png "src=" http://s3.51cto.com/wyfs02/M02/83/F3/wKiom1eA_ Wvt1ndaaaafwrsgose096.png-wh_500x0-wm_3-wmp_4-s_2742345885.png "alt=" wkiom1ea_wvt1ndaaaafwrsgose096.png-wh_50 "/ >
Second, MAVEN configuration
1. Maven_opts Environment variables:
The maven_opts contains the parameters used to start the JVM executing maven and provides the rest of the MAVEN options. For example, set the JVM's memory:
maven_opts=-xms256m-xmx512m
2. settings.xml File:
The configuration of different MAVEN projects.
Settings.xml configures how Maven executes, but does not target a single project. Settings.xml will appear in 2 directories:
Global Settings: ${maven.home}/conf/settings.xml
User settings: ${user.home}/.m2/settings.xml
3.. mvn folder:
At the top level of each project, files Maven.config and Extensions.XML, which contain special configurations for each project.
This article is from the "Snowflake" blog, make sure to keep this source http://6216083.blog.51cto.com/6206083/1813871
Maven Overview Guide