Windows installs Maven and configures the local maven jar repository: 01: Install JDK, and configure; 02: Download MAVEN:HTTP://MAVEN.APACHE.ORG/DOWNLOAD.HTMLL extract directory file; 03: Configure Environment variables;
Maven_home
=...
PATH
=%m2_home%\bin, + ...04: Verify:
mvn-version Confirmation under DOS05: Manually set up a folder with a path of "E:/work/maven_lib", then point the local repository to the path: open "Apache-maven-3.0.5\conf\settings.xml" folder under the Settings.xml file, modify the Localrepository:
<localRepository>e:/work/maven_lib</localRepository>
Eclipse configuration maven:
01: Unzip install Eclipse, install Maven plugin (online address: http://download.eclipse.org/technology/m2e/releases or see Baidu Cloud Plug-in package) ; 02: Configure MAVEN Native Installation path: Windows Preferences "maven" Installations "ADD ... Select Maven Decompression Path, 03: Configure MAVEN configuration file and local jar repository: Windows Preferences "maven" User Settings "Browser ... Select "Maven decompression path \conf\settings.xml" file;
Eclipse+maven Common functions: 1, Subclipse synchronization project files, 1, the Project right button "Configure" Convert to maven project, MAVEN to engineering general Engineering: Project RIGHT--->maven--->disable Maven Na Ture converted to general engineering. General Engineering to MAVEN project: Engineering Right-click--->configure--->convert to maven project. 2, Project right button "Maven" Update project;
Install and configure MAVEN, and integrate eclipse