使用Maven建立分布式工程骨架
Use Maven to create distributed project archetype
Shell commands as below
1# Step 1
2cd current_project_folder
3# Step 2
4mvn archetype:create-from-project -Darchetype.filteredExtensions=java
5# Step 3
6cd target/generated-sources/archetype/
7# Step 4
8mvn install
9# Step 5
10cd new_project_base_folder
11# Step 6
12mvn archetype:generate -DarchetypeCatalog=local
13# [list local archetypes at there]
14# choose archetype
作者|Author: RockSolid
发表日期|Publish Date: Jul 24, 2014
修改日期|Modified Date: Jul 24, 2014
版权许可|Copyright License: CC BY-NC-ND 3.0 CN