mvn step by step 3

mvn -Declipse.workspace=D:/eclipse321/workspace/sqsoft eclipse:add-maven-repo

1:mvn archetype:create -DgroupId=cn.sqsoft.apollo -DartifactId=sqsoft-apollo

2:delete src  and change package pom
3:
cd sqsoft-apollo
mvn archetype:create -DgroupId=cn.sqsoft.common -DartifactId=sqsoft-common
mvn archetype:create -DgroupId=cn.sqsoft.apollo.common -DartifactId=sqsoft-apollo-common
mvn archetype:create -DgroupId=cn.sqsoft.apollo.dal -DartifactId=sqsoft-apollo-dal
mvn archetype:create -DgroupId=cn.sqsoft.apollo.biz -DartifactId=sqsoft-apollo-biz
mvn archetype:create -DgroupId=cn.sqsoft.apollo.web -DartifactId=sqsoft-apollo-web
mvn archetype:create -DgroupId=cn.sqsoft -DartifactId=apollo-htdocs -DarchetypeArtifactId=maven-archetype-webapp

4:
mvn install
mvn eclipse:eclipse

mvn help:effective-pom 

發佈了51 篇原創文章 · 獲贊 0 · 訪問量 33萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章