4 回答

TA貢獻1840條經驗 獲得超5個贊
1.創建maven父工程步驟:new-->other-->選擇maven project-->next-->勾選create a simple project-->next-->填寫GAV-->packaging選擇pom-->finish。
2.創建maven子工程步驟:選中剛才創建的父工程右鍵-->new-->other-->選擇maven module-->next-->勾選create a simple project-->填寫module name(其實就是artifact id)-->next-->GAV繼承父工程-->packaging選擇需要的-->finish。
3.完成,刷新父工程;如有多個子工程,繼續按照第二步驟創建。

TA貢獻1824條經驗 獲得超8個贊
1.創建maven父工程步驟:new-->other-->選擇maven project-->next-->勾選create a simple project-->next-->填寫GAV-->packaging選擇pom-->finish。
2.創建maven子工程步驟:選中剛才創建的父工程右鍵-->new-->other-->選擇maven module-->next-->勾選create a simple project-->填寫module name(其實就是artifact id)-->next-->GAV繼承父工程-->packaging選擇你需要的-->finish。
3.完成,刷新父工程;如有多個子工程,繼續按照第二步驟創建。
- 4 回答
- 0 關注
- 563 瀏覽
添加回答
舉報