win10 maven3.5 installation

Download: apache-maven-3.5.0-bin.zip

http://maven.apache.org/download.cgi



 

Unzip it, configure the environment variables, you need to install gdk1.7 and above before installation



 

 

cmd , enter mvn -v, as shown in the figure.



 

 Execute the command: mvn create



 Will generate .m2 directory in ${user.home}

c:\Users\hui2226\.m2

 The maven configuration file is settings.xml, which can be found in the following paths:
    ------ $M2_HOME/conf/settings.xml: global settings, in the maven installation directory;
    ---- -- ${user.home}/.m2/settings.xml: User settings, which need to be added manually by the user. You can copy the settings.xml file in the installation directory to modify it.
    The relationship between the two files is: if the two files exist at the same time, the contents of the files will be merged, and the same settings will be based on the settings.xml set by the user.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326359606&siteId=291194637