In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces "Maven installation tutorial". In daily operation, I believe many people have doubts about the installation tutorial of Maven. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts of "installation tutorial of Maven". Next, please follow the editor to study!
Maven installation
1. Install Maven, and the browser visits the official website http://maven.apache.org/download.cgi Magi windows system to download the zip file
Download link address: http://mirrors.tuna.tsinghua.edu.cn/apache/maven/maven-3/3.6.2/binaries/apache-maven-3.6.2-bin.zip
two。 Then extract the folder to the directory, such as C:\ JavaDevelopment\, and extract the directory customization.
2.1 configure path environment variables
(1) MAVEN_HOME = C:\ JavaDevelopment\ apache-maven-3.6.2
(2) path =% MAVEN_HOME%\ bin
(3) enter mvn-version in the command line window to view
3. Maven's warehouse
Maven downloads POM and JAR files from https://repo.maven.apache.org/ without dragging down the entire repository. Instead, it downloads the required JAR packages to the local repository. The default path is in the user directory, such as C:\ Users\ username\ .m2\ repository.
(1) modify setting.xml configuration file
Maven downloads the jar package from the central warehouse to the local warehouse. By default, the central warehouse is abroad, and the download speed is slow. Here, use the Ali cloud server to download, and add the following content to the mirrors
Aliyunmaven
*
Aliyun public warehouse
Https://maven.aliyun.com/repository/public
Maven.net.cn
Oneof the central mirrors in china
Http://maven.net.cn/content/groups/public/
Central
(2) the configuration of local warehouse needs to be modified: D:/Repository
At this point, the study on the "installation tutorial of Maven" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.