Usage
Before Start
Check the instructions about the local catalog at this link.
Subversion
With catalog:
mvn -Dgoals=validate archetype:generate
When asked select option 3:
With specific version at command line
Usually useful for testing new version locally:
mvn -DarchetypeCatalog=local -DarchetypeArtifactId=product-parent -DarchetypeGroupId=com.mriss.mriss-parent.infrastructure.maven-archetypes -DarchetypeVersion=2.0.0-SNAPSHOT -Dgoals=validate archetype:generateGit
Setup
- Git should be installed and git executable should be in the path. In windows based systems the path should usually contains [GIT_HOME]\bin.
- Set environment variable GIT to true.
- In linux:
export GIT=true - In windows:
set GIT=true
- In linux:
With catalog:
mvn -Dgoals=validate archetype:generate
When asked select option 5:
With specific version at command line
Usually useful for testing new version locally:
mvn -DarchetypeCatalog=local -DarchetypeArtifactId=product-parent -DarchetypeGroupId=com.mriss.mriss-parent.infrastructure.maven-archetypes -DarchetypeVersion=2.0.0-SNAPSHOT -Dgoals=validate archetype:generate