Execute: mvn install
-
Execute the following command in the directory where you want to generate new project: mvn archetype:generate -DarchetypeGroupId=com.yurishchev.aem -DarchetypeVersion=1.0.0 -DarchetypeArtifactId=basic-archetype
-
Fill in required properties. There are 3 basic properties which are common for all archetypes:
- groupId
- artifactId
- package
There can be other custom properties depending on the archetype configuration.