Maven 入门

Maven in 5 minutes

http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html

 

Maven Getting Started Guide

http://maven.apache.org/guides/getting-started/index.html

 

一些不错的maven的文章

http://zyl.iteye.com/?page=4

 

Maven简单实用教程 (简单易懂)

http://eric-hou.iteye.com/blog/424795

 

《Maven权威指南 -- 中文版》

http://www.sonatype.com/books/maven-book/reference_zh/public-book.html

 

 

 

 

================= MAVEN =====================

set M2_HOME=C:\apache-maven-2.0.10

set PATH=%path%;C:\apache-maven-2.0.10\bin

Mvn -version
mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
mvn compile
mvn test
mvn test-compile
mvn package

mvn install
mvn install -Dmaven.test.skip=true
mvn install assembly:assembly

java -cp target/my-app-1.0-SNAPSHOT.jar com.mycompany.app.App

mvn site
mvn clean
mvn idea:idea
mvn eclipse:eclipse

mvn help:describe -Dplugin=help
mvn help:describe -Dplugin=help -Dfull
mvn help:effective-pom
mvn help:describe -Dplugin=exec -Dfull

mvn dependency:resolve
mvn test
mvn test -Dmaven.test.failure.ignore=true

mvn jetty:run

mvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-webapp -DgroupId=com.mycompany.app -DartifactId=my-webapp

mvn archetype:create -DgroupId=org.sonatype.mavenbook.ch05 -DartifactId=simple-webapp -DpackageName=org.sonatype.mavenbook -DarchetypeArtifactId=maven-archetype-webapp


mvn archetype:create -DgroupId=org.sonatype.mavenbook.ch03 -DartifactId=simple -DpackageName=org.sonatype.mavenbook
mvn archetype:create -DgroupId=org.sonatype.mavenbook.ch04 -DartifactId=simple-weather -DpackageName=org.sonatype.mavenbook -Dversion=1.0

mvn exec:java -Dexec.mainClass=org.sonatype.mavenbook.weather.Main

================= MULE =========================

set MULE_HOME=C:\mule-2.0.2

set PATH=%path%;C:\mule-2.0.2\bin

你可能感兴趣的:(apache,eclipse,maven,c,idea)