STS install Maven

One, Maven environment construction

1. Maven download and modify configuration

Log in to the official website to download by yourself.

2. Unzip to the root directory of Disk D

3. At the same level as the maven decompression directory, create a repository local warehouse directory

4. Modify the core configuration of maven and open conf/settings.xml in the maven installation directory

 2. Integrate the maven plugin in the STS (or eclipse) tool

1. Open the development STS (or eclipse) tool and select in the menu bar

window –preferences – maven

2. Configure the local Maven environment

Configure the maven plugin installation path and name

Finish is fine.

3. Configure the location of settings.xml and load it into the local warehouse

I put it on the H drive before, this is just an example.

 

Previous: Summary of Java basic knowledge (absolutely classic)

Next: Summary of Java interview questions (with answers)

Guess you like

Origin blog.csdn.net/guorui_java/article/details/109088456