Maven MyEclipse Build Project

Source: Internet
Author: User

I. Overview of MAVEN

MAVEN is a software project management tool that is based on the Project object Model (POM) that can manage project building, reporting, and documentation through a small description of the information.

Simply put Maven is a project management and build automation tool

Second, the environment construction

1. Configure Environment variables

System variable: maven_home = D:\tools\apache-maven-3.2.3

System variable: PATH =%maven_home%\bin

Test:

2.myEclipse configuration maven: Select the MAVEN path configured in the environment variable

3. Modify the location of Maven local warehouse:

Locate the Settings.xml configuration file under apache-maven-3.0.4 under Conf

<Settingsxmlns= "http://maven.apache.org/SETTINGS/1.0.0"Xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance"xsi:schemalocation= "http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">  <!--Localrepository |   The path to the local repository maven would use to store artifacts.   | | Default: ${user.home}/.m2/repository//apache-maven-3.0.4 Warehouse is placed under the temporary folder of local users under the M2 folder under repository <localrep Ository>/path/to/local/repo</localrepository> -//Modify to the location you specified<localrepository>F:/resource/maven/repo</localrepository> 

4. Copy the settings.xml file to the F:/resource/maven/repo

And in the MyEclipse introduced---------"Construction completed

Iii. creating a Web project in MyEclipse (i Myeclipse2013)

Iv. Common directives

Maven MyEclipse Build Project

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.