Configuring the Marven environment in the Java Web eclipse

Source: Internet
Author: User

1 Marven Introduction

Apache Maven is a software (especially Java software) project management and automated build tool, provided by the Apache Software Foundation. Based on the concept of the Project object Model (abbreviated: POM), Maven uses a central piece of information to manage the steps of building, reporting, and documenting a project. Formerly a sub-project of the Jakarta Project, it is now a standalone Apache project.

2 Installing and configuring the Marven plug-in in eclipse

2.1 Use of the development environment

Windows7 64-bit machine, the version of Eclipse is

220140224-0627

2.2 Installation Configuration

① Download Marven source package, download the latest version,

② Configuring environment variables

A, add a variable to the system environment variable: The value of the Maven_home variable is: D:\Developer\apache-maven-3.2.5 (this is changed to its own machine corresponding path),

b, add the appropriate path in the system variable path:%maven_home%\bin;

After the add is complete, verify, and on the command line, enter:

Mvn-v

The following configuration information appears to indicate that the configuration was successful.

③ configuring Maven in Eclipse after successful configuration

Click the Eclipse menu bar Help->eclipse Marketplace, search for the keyword maven to the plugin Maven integration for Eclipse and click Install.:

After installing the plug-in needs to be configured in eclipse to select the local marven, the local library is selected because you can specify the location of the warehouse, you can also specify the remote warehouse, easy to manage the restart, in order to make the MAVEN plugin installed in Eclipse, As with the one installed in Windows, you need to reposition Maven in Eclipse and click Add, Installation---Preference, Window----to set it up.

This Marven environment is configured in eclipse.

Reference articles

1 Marven Configuration

2 Marven Introduction

Configuring the Marven environment in the Java Web eclipse

Related Article

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.