Maven ABC

1. Download latest version from Maven official website http://maven.apache.org/download.html

2. Install (un-zip and set the environment variables)
    a) un-zip to your target folder, take C:\maven (which contains bin folder) for example
    b) add MAVEN_HOME var and point to your target folder
    c) append %MAVEN_HOME%\bin to your path variable
    d) test maven by enter command "mvn -v"

3. Add m2eclipse plugin for eclipse
    a) go to Help --> Install New Software
    b) Enter "http://download.eclipse.org/technology/m2e/releases" and select all, click "Next" button till complete the installment.

4. Restart eclipse and enjoy it!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mvn clean install -Dgpg.skip -Dmaven.test.skip=true

mvn jetty:run

你可能感兴趣的:(maven)