标签:
mvn archetype:generate -DgroupId=com.java.samples -DartifactId=JavaSamples -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
This maven command will create a Java project with the below details:
TRUE
so that it will scan the remote repositories for all available archetypes. This might take longer time
mvn compile :
mvn clean: 清除编译结果,target 文件夹会被删掉
mvn test:
mvn package: 打包项目
标签:
原文地址:http://www.cnblogs.com/morningdew/p/5628414.html