ITeye博客

常用maven创建项目骨架命令

wolfcame · 2012-02-03 16:14 · maven · 开源软件 · Markdown

创建一般的maven工程骨架 mvn archetype:create -DgroupId=cn.xxx -DartifactId=myApp -Dpackage=cn.xxx

创建一般的maven web工程骨架 mvn archetype:create -DgroupId=com.xxx -DartifactId=myweb -Dpackage=cn.xxx -DarchetypeArtifactId=maven-archetype-webapp


mvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=cn.xxx.helloworld -DartifactId=helloworld

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。