Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Configuration of maven

Shulou Source: shulou.com Published: 2022-06-03 07:06:16 09月23日 Update

After download, for example, install to D:\ Softwares\ apache-maven-3.2.2

Configure two

Add a new system environment variable MAVEN_HOME and set its value to the directory you installed

D:\ Softwares\ apache-maven-3.2.2

Update the system Path variable to add;% MAVEN_HOME%\ bin; to the tail

After opening the dos console

The mvn-version display version indicates that it is configured.

Mvn can build a web project, saving a lot of steps (configuring some dependencies)

Mvn archetype:generate

Choose the project you want to build

Choose 10 here to build a web project.

Will let you enter groupId and artiFactId and so on.

The created place is placed in your current directory, and you can see the bottom of the picture.

You can open this project in intellij.

Tags: Project configuration variable directory system two place tail console step version environment control update input select Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB OPPO Reno MySQL Microsoft Shulou Information