Maven introduction and environment construction

an introduction
Maven is a software project management tool based on the Project Object Model (POM) that can manage the creation, reporting and documentation of projects through a small piece of descriptive information.
 
Two Maven download address
Download the package apache-maven-3.3.3-bin.zip
 
Three directory structure
bin:mvn runs the script.
boot: Contains a classloader framework.
conf: Configuration file directory.
lib: The class library used by mvn to run.
 
Four configuration environment variables
Create a new environment variable M2_HOME with a value of F:\java\apache-maven-3.3.3
In the PATH environment variable, add  %M2_HOME%\bin
 
5 Verify that the installation is successful
C:\Users\lenovo>mvn -v
Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T19:57:37+08:00)
Maven home: F:\java\apache-maven-3.3.3
Java version: 1.7.0_51, vendor: Oracle Corporation
Java home: D:\Java\jdk1.7.0_51\jre
Default locale: zh_CN, platform encoding: GBK

 

OS name: "windows 8", version: "6.2", arch: "amd64", family: "windows"

Guess you like

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