maven Archetype for the CQ5 project is multimodule-content-package-archetype
cmd> mvn archetype:generate
-DarchetypeRepository=http://repo.adobe.com/nexus/content/groups/public/
-DarchetypeGroupId=com.day.jcr.vault
-DarchetypeArtifactId=multimodule-content-package-archetype
-DarchetypeVersion=1.0.2
-DgroupId=my-group-id
-DartifactId=myproject
-Dversion=1.0-SNAPSHOT
-Dpackage=com.mycompany.myproject
-DappsFolderName=myproject
-DartifactName="My Project"
-DcqVersion="5.6.1"
-DpackageGroup="My Company"
(before execute the command, verify did you install maven into your system).
It ask the conformation for create the project. Press y
cmd> mvn archetype:generate
-DarchetypeRepository=http://repo.adobe.com/nexus/content/groups/public/
-DarchetypeGroupId=com.day.jcr.vault
-DarchetypeArtifactId=multimodule-content-package-archetype
-DarchetypeVersion=1.0.2
-DgroupId=my-group-id
-DartifactId=myproject
-Dversion=1.0-SNAPSHOT
-Dpackage=com.mycompany.myproject
-DappsFolderName=myproject
-DartifactName="My Project"
-DcqVersion="5.6.1"
-DpackageGroup="My Company"
(before execute the command, verify did you install maven into your system).
It ask the conformation for create the project. Press y
No comments:
Post a Comment