Step 1
Download and install Maven, and configure m2_home and path.
Step 2
Use the maven plug-in provided by myeclipse to generate the. m2 folder and copy the. m2 folder of the settings. xml file of the maven installation package to make necessary modifications.
Step 3
Create a Maven project in myeclipse, or create a common project to add Maven support.
Step 4
Write the Pom. xml file as needed.
After completing the appeal Step 4, Maven can manage the project. To set up a private server, you must perform the following operations.
Step 5
Download and install nexus.
Step 6
Copy the required package or use MVN deploy to upload the package. If you need the permission, configure the permission in settings. xml.
Step 7
Modify Pom. xml and add the private server address
After completing the above seven steps, we have completed the setup and use of Maven projects and private servers ^