Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Configuration of maven

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report