[Java web–maven–1a]maven 3.3.3 for Windows configuration (RPM)

Source: Internet
Author: User

1. Environment

System environment: Windows R2

JDK version:1.7.0_10

2.

maven:http://maven.apache.org/download.cgi

Choose Maven 3.3.3 (binary tar.gz) or maven 3.3.3 (binary zip)

3. Configuring the System environment

Unzip: the download maven (apache-maven-3.3.3) compressed package is extracted and placed in the C packing directory.

Set Environment variables: Computer environment variables (System Variables section), new variable name "Maven_home", Variable Value: "C:\apache-maven-3.3.3" OK (save), change path:

Append ";%maven_home%\bin" at the end.

Open cmd command input "mvn-v" command line appears, MAVEN 3.3.3 version number, System environment configuration succeeded.

4. Change the default storage address for MAVEN's warehouse

Modify the Settings.xml file under the Conf folder under C:\apache-maven-3.3.3

Change localrepository configuration section:<localrepository>e:/workspace/maven/repo</localrepository>

5. Download the relevant package

Knock in CMD and enter to execute: MVN help:system

Ii. using maven in MyEclipse

Open myeclipse2014 Select Maven4myeclipse, under MyEclipse, prefences, window

1, modify the "Maven4myeclipse" under the Installations click "Add" to select the directory "C:\apache-maven-3.3.3"

Global settings from installation directory (open file) selection C:\apache-maven-3.3.3\conf\settings.xml

2. Modify the user Settings property "C:\apache-maven-3.3.3\conf\settings.xml" under "Maven4myeclipse" under User Settings, and save the confirmation.

[Java web–maven–1a]maven 3.3.3 for Windows configuration (RPM)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.