This article mainly shares with you the method of installing and using Maven in MyEclipse for your reference. The specific content is as follows
Step1: Download mavenhttp://maven.apache.org/download.cgi, after downloading, unzip it into a path
Step2: Configure environment variables,
New variable name: MAVEN_HOME Variable value: D:/Maven/apache-maven-3.3.9
Edit variable name: Path in front of it: %MAVEN_HOME%/bin; (a semicolon is used as a separator, must)
Step3: Detect whether the installation is successful. Enter mvn -version in the command line to see if there is the following content. If so, it means the configuration is successful.
Step4: Configuration of Maven Data Warehouse
Find the installation path of Maven, go to conf-->Open setting.xml, find the localRepository tag, which is commented out at this time, uncomment, and then configure a path, such as: D:/Maven/maven_jar, so that the jar packages downloaded by MAVEN management will be in this path in the future. Of course, we need to build such a directory structure, and then copy settings.xml to D:/Maven. This will be used when integrating with MyEclipse.
Step5: Integrating Maven in MyEclipse
Configure in preferences as shown in the figure:
At this time, click File-->new-->other-->MyEclipse-->Maven4MyEclipse-->Maven Project. If you can see these, it proves that the configuration is successful and you can already establish the Maven project.
The above is all the content of this article. I hope it will be helpful to everyone's learning and I hope everyone will support Wulin.com more.