maven and eclipse environment construction

Getting started with maven

 

Since Maven relies on the Java runtime environment, you need to configure the Java runtime environment before using Maven. Download and install JDK, configure the environment variable JAVA_HOME of JDK, otherwise maven will not work.

 

1) Install

Official website http://maven.apache.org/download.cgi Download bin file (src file cannot be used);

unzip;

Configure environment variables, such as: F:\maven\apache-maven-3.5.0\bin

 

Test if the installation is successful:

   Command line input: mvn -v



 

 

2) eclipse integration plugin

Path: http://m2eclipse.sonatype.org/sites/m2e



 

Then next until finish.

Prompt to restart. Just OK.

Guess you like

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