Maven installation practice

xiaoxiao2021-03-06  61

1. Download the latest version installation from Maven.apache.org 2. Set the environment variable mave_home to your installation directory, add% maven_home% / bin, add to the global variable 3. In% user_home%, create a new repository directory 4. Using the command Install_repo% user_home% / repository, install repository to% user_home% / repository5. Unfained repository.rar to% user_home% / repository6. Pitting% MAVEN_HOME% / lib / maven.jar file in defaults.properties, in the last plus a few The information of proxy, such as maven.proxy.host = 10.200.100.82 maven.proxy.port = 8080 maven.proxy.Username = isxxx maven.proxy.password = XXX0000 After the modification is complete, then place it to maven.jar

7. Create a new project.xml, configure project information, and put it in the project work directory such as% project_root% / aabs / Internet / web-inf 8. Run Maven generated project report thanked Xiao Yongfeng to help this

转载请注明原文地址:https://www.9cbs.com/read-91041.html

New Post(0)