archetypeを使用してmaven足場と新しいプロジェクトを作成


一、maven足場に基づいて新しいプロジェクトを作成する(maven足場を生成する方法は後述する):
1、mavenのローカル環境(例えばC:Usersdell.m 2)の下で新しいファイルarchetype-catalogを作成する.xml、versionの値は実際の状況に従って入力されます.
<?xml version="1.0" encoding="UTF-8"?>
<archetype-catalog xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-catalog/1.0.0 http://maven.apache.org/xsd/archetype-catalog-1.0.0.xsd"
    xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-catalog/1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <archetypes>
    <archetype>
      <groupId>com.fangdd.cosmos</groupId>
      <artifactId>cosmos-archetype</artifactId>
      <version>1.0.1</version>
      <description>cosmos-archetype</description>
    </archetype>
  </archetypes>
</archetype-catalog>

 
2、生成する項目のディレクトリに入る(例えばD:temp):
cd /D/temp

 
3、コマンドmvn archetype:generate-DarchetypeCatalog=localを実行し、ローカルlocalの既存のmaven足場を示す:
dell@DELL-PC /D/temp
$ mvn archetype:generate -DarchetypeCatalog=local
[INFO] Scanning for projects...
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethrea
ded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-archetype-plugin:2.3:generate (default-cli) @ standalone-pom >>
>
[INFO]
[INFO] <<< maven-archetype-plugin:2.3:generate (default-cli) @ standalone-pom <<
<
[INFO]
[INFO] --- maven-archetype-plugin:2.3:generate (default-cli) @ standalone-pom --
-
[INFO] Generating project in Interactive mode
[INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.
archetypes:maven-archetype-quickstart:1.0)
Choose archetype:
1: local -> com.fangdd.cosmos:cosmos-archetype (cosmos-archetype)
Choose a number or apply filter (format: [groupId:]artifactId, case sensitive co
ntains): :



 
4、結果でcosmos-archetypeのシーケンス番号を選択します.この例では:1で、groupId、artifactId、version、packageの4つの必須属性をシステムのプロンプトに従って逐次入力します.
ここでversion、packageシステムはスマートにデフォルト値を与え、車に戻って確認するとシステムは新しいmavenプロジェクトを生成します.
 
Choose archetype:
1: local -> com.fangdd.cosmos:cosmos-archetype (cosmos-archetype)
Choose a number or apply filter (format: [groupId:]artifactId, case sensitive co
ntains): : 1
Define value for property 'groupId': : com.fangdd.creditloan
Define value for property 'artifactId': : creditloan
Define value for property 'version':  1.0-SNAPSHOT: :
Define value for property 'package':  com.fangdd.creditloan: :
Confirm properties configuration:
groupId: com.fangdd.creditloan
artifactId: creditloan
version: 1.0-SNAPSHOT
package: com.fangdd.creditloan
 Y: : y
[INFO] -------------------------------------------------------------------------
---
[INFO] Using following parameters for creating project from Archetype: cosmos-ar
chetype:1.0.1
[INFO] -------------------------------------------------------------------------
---
[INFO] Parameter: groupId, Value: com.fangdd.creditloan
[INFO] Parameter: artifactId, Value: creditloan
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: package, Value: com.fangdd.creditloan
[INFO] Parameter: packageInPathFormat, Value: com/fangdd/creditloan
[INFO] Parameter: package, Value: com.fangdd.creditloan
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: groupId, Value: com.fangdd.creditloan
[INFO] Parameter: artifactId, Value: creditloan
[INFO] Parent element not overwritten in d:\temp\creditloan\creditloan-util\pom.
xml
[INFO] Parent element not overwritten in d:\temp\creditloan\creditloan-base\pom.
xml
[INFO] Parent element not overwritten in d:\temp\creditloan\creditloan-dao\pom.x
ml
[INFO] Parent element not overwritten in d:\temp\creditloan\creditloan-service\p
om.xml
[INFO] Parent element not overwritten in d:\temp\creditloan\creditloan-auth\pom.
xml
[INFO] Parent element not overwritten in d:\temp\creditloan\creditloan-web\pom.x
ml
[INFO] project created from Archetype in dir: d:\temp\creditloan
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 43.330 s
[INFO] Finished at: 2015-04-24T10:31:43+08:00
[INFO] Final Memory: 14M/226M
[INFO] ------------------------------------------------------------------------

 
 
 
二、maven足場の生成方法、例えば本明細書で使用したcosmos-archetype:
足場はエンジニアリングテンプレートとも呼ばれ、1つ以上のデフォルトのエンジニアリングを作成し、各エンジニアリングにデフォルトのファイルと構成を埋め込むことです.同時に、生成されたエンジニアリングに必要ないくつかの属性を抽象化し、これらの属性を動的に構成することができます.mavenではカスタムarchetypeで足場を生成します.maven自体にはarchetypeエンジニアリングテンプレートがたくさん内蔵されています.に合格
 
mvn archetype:generate

コマンド、mvnはサポートされているすべてのプロジェクトテンプレートを列挙します.必要に応じてテンプレートを選択してプロジェクトを生成できます.これらのデフォルトのテンプレートがまだ足りない場合や、社内で独自のエンジニアリングテンプレートをカスタマイズしたい場合は、自分でエンジニアリングテンプレートを作成できます.
 
1、まずcosmos-templateのような構成の工事があります.
 
	<modelVersion>4.0.0</modelVersion>
	<groupId>com.fangdd.cosmos</groupId>
	<artifactId>cosmos</artifactId>
	<packaging>pom</packaging>
	<version>1.0.1-SNAPSHOT</version>
	<name>cosmos</name>
	<url>http://www.fangdd.com</url>

	<modules>
		<module>cosmos-util</module>
		<module>cosmos-base</module>
		<module>cosmos-dao</module>
		<module>cosmos-service</module>
		<module>cosmos-auth</module>
		<module>cosmos-web</module>
	</modules>

 
 
2、cosmos-templateディレクトリに入り、コマンドを実行して足場cosmos-archetypeを生成する:
 
mvn archetype:create-from-project

   
結果:
dell@DELL-PC /D/angular/cosmos-template (master)
$ mvn archetype:create-from-project
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
com.fangdd.cosmos:cosmos-base:jar:1.0.1-SNAPSHOT
[WARNING] 'version' contains an expression but should be a constant. @ com.fangd
d.cosmos:cosmos-base:${parent.version}, D:\angular\cosmos-template\cosmos-base\p
om.xml, line 10, column 12
[WARNING] The expression ${parent.version} is deprecated. Please use ${project.p
arent.version} instead. @ com.fangdd.cosmos:cosmos-base:${parent.version}, D:\an
gular\cosmos-template\cosmos-base\pom.xml
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten t
he stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support buildin
g such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] cosmos
[INFO] cosmos-util
[INFO] cosmos-base
[INFO] cosmos-dao
[INFO] cosmos-service
[INFO] cosmos-auth
[INFO] cosmos-web
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethrea
ded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building cosmos 1.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-archetype-plugin:2.3:create-from-project (default-cli) @ cosmos
 >>>
[INFO]
[INFO] <<< maven-archetype-plugin:2.3:create-from-project (default-cli) @ cosmos
 <<<
[INFO]
[INFO] --- maven-archetype-plugin:2.3:create-from-project (default-cli) @ cosmos
 ---
[INFO] Setting default groupId: com.fangdd.cosmos
[INFO] Setting default artifactId: cosmos
[INFO] Setting default version: 1.0.1-SNAPSHOT
[INFO] Setting default package: com.fangdd.cosmos
Scanned 0 filtered files in 1 files:
Scanned 1 filtered files in 2 files: .project
Scanned 8 filtered files in 8 files: src\main\java\com\fangdd\cosmos\util\codec\
MD5.java, src\main\java\com\fangdd\cosmos\util\Dates.java, src\main\java\com\fan
gdd\cosmos\util\entity\Entities.java, src\main\java\com\fangdd\cosmos\util\excep
tion\BusinessException.java, src\main\java\com\fangdd\cosmos\util\page\PageQueri
er.java, src\main\java\com\fangdd\cosmos\util\page\Pages.java, src\main\java\com
\fangdd\cosmos\util\response\Response.java, src\main\java\com\fangdd\cosmos\util
\response\ResultCode.java
Scanned 3 filtered files in 3 files: src\test\java\com\fangdd\cosmos\test\Test.j
ava, src\test\java\com\fangdd\cosmos\test\util\codec\MD5Test.java, src\test\java
\com\fangdd\cosmos\test\util\entity\EntiesTest.java
Scanned 1 filtered files in 6 files: .settings\org.eclipse.wst.common.project.fa
cet.core.xml
Scanned 2 filtered files in 3 files: .classpath, .project
Scanned 19 filtered files in 19 files: src\main\java\com\fangdd\cosmos\base\cont
roller\AbstractController.java, src\main\java\com\fangdd\cosmos\base\dao\Abstrac
tDao.java, src\main\java\com\fangdd\cosmos\base\entity\Permit.java, src\main\jav
a\com\fangdd\cosmos\base\entity\PermitExample.java, src\main\java\com\fangdd\cos
mos\base\entity\Role.java, src\main\java\com\fangdd\cosmos\base\entity\RoleExamp
le.java, src\main\java\com\fangdd\cosmos\base\entity\RolePermit.java, src\main\j
ava\com\fangdd\cosmos\base\entity\RolePermitExample.java, src\main\java\com\fang
dd\cosmos\base\entity\RolePermitKey.java, src\main\java\com\fangdd\cosmos\base\e
ntity\User.java, src\main\java\com\fangdd\cosmos\base\entity\UserExample.java, s
rc\main\java\com\fangdd\cosmos\base\entity\UserRole.java, src\main\java\com\fang
dd\cosmos\base\entity\UserRoleExample.java, src\main\java\com\fangdd\cosmos\base
\entity\UserRoleKey.java, src\main\java\com\fangdd\cosmos\base\model\AbstractMod
el.java, src\main\java\com\fangdd\cosmos\base\model\RolePermitModel.java, src\ma
in\java\com\fangdd\cosmos\base\model\UserModel.java, src\main\java\com\fangdd\co
smos\base\model\UserRoleModel.java, src\main\java\com\fangdd\cosmos\base\service
\AbstractService.java
Scanned 1 filtered files in 6 files: .settings\org.eclipse.wst.common.project.fa
cet.core.xml
Scanned 2 filtered files in 3 files: .classpath, .project
Scanned 5 filtered files in 5 files: src\main\java\com\fangdd\cosmos\demo\dao\im
pl\PersonDaoImpl.java, src\main\java\com\fangdd\cosmos\demo\dao\PersonDao.java,
src\main\java\com\fangdd\cosmos\demo\entity\Person.java, src\main\java\com\fangd
d\cosmos\demo\entity\PersonExample.java, src\main\java\com\fangdd\cosmos\demo\ma
pper\PersonMapper.java
Scanned 2 filtered files in 2 files: src\main\resources\mybatis\cosmos\PersonMap
per.xml, src\main\resources\mybatis\mybatis-config.xml
Scanned 1 filtered files in 1 files: src\test\java\com\fangdd\cosmos\test\Test.j
ava
Scanned 1 filtered files in 6 files: .settings\org.eclipse.wst.common.project.fa
cet.core.xml
Scanned 2 filtered files in 3 files: .classpath, .project
Scanned 3 filtered files in 3 files: src\main\java\com\fangdd\cosmos\demo\servic
e\impl\PersonServiceImpl.java, src\main\java\com\fangdd\cosmos\demo\service\Pers
onService.java, src\main\java\com\fangdd\cosmos\service\Test.java
Scanned 1 filtered files in 1 files: src\test\java\com\fangdd\cosmos\test\Test.j
ava
Scanned 1 filtered files in 6 files: .settings\org.eclipse.wst.common.project.fa
cet.core.xml
Scanned 2 filtered files in 3 files: .classpath, .project
Scanned 35 filtered files in 35 files: src\main\java\com\fangdd\cosmos\auth\cont
roller\LoginController.java, src\main\java\com\fangdd\cosmos\auth\controller\Per
mitController.java, src\main\java\com\fangdd\cosmos\auth\controller\RoleControll
er.java, src\main\java\com\fangdd\cosmos\auth\controller\RolePermitController.ja
va, src\main\java\com\fangdd\cosmos\auth\controller\UserController.java, src\mai
n\java\com\fangdd\cosmos\auth\controller\UserRoleController.java, src\main\java\
com\fangdd\cosmos\auth\dao\impl\PermitDaoImpl.java, src\main\java\com\fangdd\cos
mos\auth\dao\impl\RoleDaoImpl.java, src\main\java\com\fangdd\cosmos\auth\dao\imp
l\RolePermitDaoImpl.java, src\main\java\com\fangdd\cosmos\auth\dao\impl\UserDaoI
mpl.java, src\main\java\com\fangdd\cosmos\auth\dao\impl\UserRoleDaoImpl.java, sr
c\main\java\com\fangdd\cosmos\auth\dao\PermitDao.java, src\main\java\com\fangdd\
cosmos\auth\dao\RoleDao.java, src\main\java\com\fangdd\cosmos\auth\dao\RolePermi
tDao.java, src\main\java\com\fangdd\cosmos\auth\dao\UserDao.java, src\main\java\
com\fangdd\cosmos\auth\dao\UserRoleDao.java, src\main\java\com\fangdd\cosmos\aut
h\form\LoginForm.java, src\main\java\com\fangdd\cosmos\auth\mapper\PermitMapper.
java, src\main\java\com\fangdd\cosmos\auth\mapper\RoleMapper.java, src\main\java
\com\fangdd\cosmos\auth\mapper\RolePermitMapper.java, src\main\java\com\fangdd\c
osmos\auth\mapper\UserMapper.java, src\main\java\com\fangdd\cosmos\auth\mapper\U
serRoleMapper.java, src\main\java\com\fangdd\cosmos\auth\service\impl\PermitServ
iceImpl.java, src\main\java\com\fangdd\cosmos\auth\service\impl\RolePermitServic
eImpl.java, src\main\java\com\fangdd\cosmos\auth\service\impl\RoleServiceImpl.ja
va, src\main\java\com\fangdd\cosmos\auth\service\impl\UserRoleServiceImpl.java,
src\main\java\com\fangdd\cosmos\auth\service\impl\UserServiceImpl.java, src\main
\java\com\fangdd\cosmos\auth\service\LoginService.java, src\main\java\com\fangdd
\cosmos\auth\service\PermitService.java, src\main\java\com\fangdd\cosmos\auth\se
rvice\RolePermitService.java, src\main\java\com\fangdd\cosmos\auth\service\RoleS
ervice.java, src\main\java\com\fangdd\cosmos\auth\service\UserRoleService.java,
src\main\java\com\fangdd\cosmos\auth\service\UserService.java, src\main\java\com
\fangdd\cosmos\auth\shiro\ShiroDbRealm.java, src\main\java\com\fangdd\cosmos\aut
h\velocity\ShiroTool.java
Scanned 26 filtered files in 591 files: src\main\resources\applicationContext.xm
l, src\main\resources\mybatis\cosmos\PermitMapper.xml, src\main\resources\mybati
s\cosmos\RoleMapper.xml, src\main\resources\mybatis\cosmos\RolePermitMapper.xml,
 src\main\resources\mybatis\cosmos\UserMapper.xml, src\main\resources\mybatis\co
smos\UserRoleMapper.xml, src\main\resources\spring-shiro.xml, src\main\webapp\vi
ews\auth\permit\list.vm, src\main\webapp\views\auth\role\list.vm, src\main\webap
p\views\auth\user\list.vm, src\main\webapp\views\error\404.jsp, src\main\webapp\
views\error\500.jsp, src\main\webapp\views\error\error.jsp, src\main\webapp\view
s\error\exception.jsp, src\main\webapp\views\error\message.jsp, src\main\webapp\
views\error
opermit.vm, src\main\webapp\views\login.vm, src\main\webapp\views\r esource_ace.jsp, src\main\webapp\views\resource_ace.vm, src\main\webapp\views\re source_basic.jsp, src\main\webapp\views\resource_basic.vm, src\main\webapp\views \sucess.vm, src\main\webapp\WEB-INF\spring-mvc.xml, src\main\webapp\WEB-INF\velo city.properties, src\main\webapp\WEB-INF\velocityToolBox.xml, src\main\webapp\WE B-INF\web.xml Scanned 2 filtered files in 2 files: src\test\java\com\fangdd\cosmos\test\genera tor\PermitSqlGenerator.java, src\test\java\com\fangdd\cosmos\test\Test.java Scanned 2 filtered files in 10 files: .settings\org.eclipse.wst.common.project.f acet.core.prefs.xml, .settings\org.eclipse.wst.common.project.facet.core.xml Scanned 2 filtered files in 3 files: .classpath, .project Scanned 2 filtered files in 2 files: src\main\java\com\fangdd\cosmos\demo\contro ller\PersonController.java, src\main\java\com\fangdd\cosmos\Test.java Scanned 11 filtered files in 14 files: src\main\resources\environment\developmen t\application.properties, src\main\resources\environment\development\jdbc.proper ties, src\main\resources\environment\development\logback.xml, src\main\resources \environment\production\application.properties, src\main\resources\environment\p roduction\jdbc.properties, src\main\resources\environment\production\logback.xml , src\main\resources\environment\testing\application.properties, src\main\resour ces\environment\testing\jdbc.properties, src\main\resources\environment\testing\ logback.xml, src\main\webapp\views\index.vm, src\main\webapp\WEB-INF\web.xml Scanned 1 filtered files in 1 files: src\test\java\com\fangdd\cosmos\test\Test.j ava Scanned 1 filtered files in 9 files: .settings\org.eclipse.wst.common.project.fa cet.core.xml Scanned 2 filtered files in 3 files: .classpath, .project [INFO] Scanning for projects... [INFO] [INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethrea ded.SingleThreadedBuilder with a thread count of 1 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building cosmos-archetype 1.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] Downloading: http://192.168.1.60:8081/nexus/content/groups/public/org/apa che/maven/plugins/maven-install-plugin/maven-metadata.xml [INFO] Downloaded: http://192.168.1.60:8081/nexus/content/groups/public/org/apac he/maven/plugins/maven-install-plugin/maven-metadata.xml (751 B at 0.2 KB/sec) [INFO] Downloading: http://192.168.1.60:8081/nexus/content/groups/public/org/apa che/maven/plugins/maven-resources-plugin/maven-metadata.xml [INFO] Downloaded: http://192.168.1.60:8081/nexus/content/groups/public/org/apac he/maven/plugins/maven-resources-plugin/maven-metadata.xml (805 B at 0.0 KB/sec) [INFO] Downloading: http://192.168.1.60:8081/nexus/content/groups/public/org/apa che/maven/plugins/maven-deploy-plugin/maven-metadata.xml [INFO] Downloaded: http://192.168.1.60:8081/nexus/content/groups/public/org/apac he/maven/plugins/maven-deploy-plugin/maven-metadata.xml (837 B at 0.2 KB/sec) [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ cosmos-arc hetype --- [WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e . build is platform dependent! [INFO] Copying 749 resources [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ co smos-archetype --- [WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e . build is platform dependent! [INFO] Copying 2 resources [INFO] [INFO] --- maven-archetype-plugin:2.3:jar (default-jar) @ cosmos-archetype --- [INFO] Building archetype jar: D:\angular\cosmos-template\target\generated-sourc es\archetype\target\cosmos-archetype-1.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 27.437 s [INFO] Finished at: 2015-04-24T11:11:25+08:00 [INFO] Final Memory: 15M/154M [INFO] ------------------------------------------------------------------------ [INFO] Archetype created in d:\angular\cosmos-template\target\generated-sources\ archetype [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] cosmos ............................................ SUCCESS [ 30.767 s] [INFO] cosmos-util ....................................... SKIPPED [INFO] cosmos-base ....................................... SKIPPED [INFO] cosmos-dao ........................................ SKIPPED [INFO] cosmos-service .................................... SKIPPED [INFO] cosmos-auth ....................................... SKIPPED [INFO] cosmos-web ........................................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 30.954 s [INFO] Finished at: 2015-04-24T11:11:25+08:00 [INFO] Final Memory: 11M/219M [INFO] ------------------------------------------------------------------------

 
 
 
3、cosmos-templatetargetgenerated-sourcesに入り、生成した足場installをローカルに(deployからnuexusまでも可能、cosmos-templateのpomファイルにnexusを配置する必要がある)
mvn install

    
結果:
dell@DELL-PC /D/angular/cosmos-template (master)
$ cd target/generated-sources/archetype

dell@DELL-PC /D/angular/cosmos-template/target/generated-sources/archetype (mast
er)
$ mvn install
[INFO] Scanning for projects...
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethrea
ded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building cosmos-archetype 1.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ cosmos-arc
hetype ---
[WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e
. build is platform dependent!
[INFO] Copying 749 resources
[INFO]
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ co
smos-archetype ---
[WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e
. build is platform dependent!
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-archetype-plugin:2.3:jar (default-jar) @ cosmos-archetype ---
[INFO] Building archetype jar: d:\angular\cosmos-template\target\generated-sourc
es\archetype\target\cosmos-archetype-1.0.1-SNAPSHOT
[INFO]
[INFO] --- maven-archetype-plugin:2.3:integration-test (default-integration-test
) @ cosmos-archetype ---
[INFO] Processing Archetype IT project: basic
[INFO] -------------------------------------------------------------------------
---
[INFO] Using following parameters for creating project from Archetype: cosmos-ar
chetype:1.0.1-SNAPSHOT
[INFO] -------------------------------------------------------------------------
---
[INFO] Parameter: groupId, Value: archetype.it
[INFO] Parameter: artifactId, Value: basic
[INFO] Parameter: version, Value: 0.1-SNAPSHOT
[INFO] Parameter: package, Value: it.pkg
[INFO] Parameter: packageInPathFormat, Value: it/pkg
[INFO] Parameter: version, Value: 0.1-SNAPSHOT
[INFO] Parameter: package, Value: it.pkg
[INFO] Parameter: groupId, Value: archetype.it
[INFO] Parameter: artifactId, Value: basic
[INFO] Parent element not overwritten in d:\angular\cosmos-template\target\gener
ated-sources\archetype\target\test-classes\projects\basic\project\basic\basic-ut
il\pom.xml
[INFO] Parent element not overwritten in d:\angular\cosmos-template\target\gener
ated-sources\archetype\target\test-classes\projects\basic\project\basic\basic-ba
se\pom.xml
[INFO] Parent element not overwritten in d:\angular\cosmos-template\target\gener
ated-sources\archetype\target\test-classes\projects\basic\project\basic\basic-da
o\pom.xml
[INFO] Parent element not overwritten in d:\angular\cosmos-template\target\gener
ated-sources\archetype\target\test-classes\projects\basic\project\basic\basic-se
rvice\pom.xml
[INFO] Parent element not overwritten in d:\angular\cosmos-template\target\gener
ated-sources\archetype\target\test-classes\projects\basic\project\basic\basic-au
th\pom.xml
[INFO] Parent element not overwritten in d:\angular\cosmos-template\target\gener
ated-sources\archetype\target\test-classes\projects\basic\project\basic\basic-we
b\pom.xml
[INFO] project created from Archetype in dir: d:\angular\cosmos-template\target\
generated-sources\archetype\target\test-classes\projects\basic\project\basic
[INFO] No post-archetype-generation goals to invoke.
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ cosmos-archety
pe ---
[INFO] Installing d:\angular\cosmos-template\target\generated-sources\archetype\
target\cosmos-archetype-1.0.1-SNAPSHOT.jar to E:\repo\com\fangdd\cosmos\cosmos-a
rchetype\1.0.1-SNAPSHOT\cosmos-archetype-1.0.1-SNAPSHOT.jar
[INFO] Installing d:\angular\cosmos-template\target\generated-sources\archetype\
pom.xml to E:\repo\com\fangdd\cosmos\cosmos-archetype\1.0.1-SNAPSHOT\cosmos-arch
etype-1.0.1-SNAPSHOT.pom
[INFO]
[INFO] --- maven-archetype-plugin:2.3:update-local-catalog (default-update-local
-catalog) @ cosmos-archetype ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.903 s
[INFO] Finished at: 2015-04-24T11:17:51+08:00
[INFO] Final Memory: 22M/355M
[INFO] ------------------------------------------------------------------------