Maven archetype that create an empty maven project including :
- pom.xml with basic dependencies for test : junit, assertJ and mockito
- .gitignore
- empty directories
First install the archetype into the local repository
mvn clean install
Then use the script createProject like this:
./createProject.sh myNewProject
Or a simple command line
mvn archetype:generate -DarchetypeRepository=local -DarchetypeGroupId=org.vieuxchameau -DarchetypeArtifactId=standalone-archetype -DarchetypeVersion=1.0-SNAPSHOT -DgroupId=org.vieuxchameau -DartifactId=someProjectId -DinteractiveMode=false -Dpacakge=org.vieuxchameau