An updated version of maven-archetype-quickstart.
For interactive mode, just run:
mvn archetype:generate -DarchetypeGroupId=xyz.luan.generator -DarchetypeArtifactId=xyz-generator -DarchetypeVersion=0.3.0
And fill the information.
If you want batch mode, use this instead, but fill in the gaps:
mvn archetype:generate -DarchetypeGroupId=xyz.luan.generator -DarchetypeArtifactId=xyz-generator -DarchetypeVersion=0.3.0 -DgroupId=<your.group.id> -DartifactId=<your-atifact-id> -Dversion=<your.version> -DinteractiveMode=false
Are you looking for xyz-gae-generator? If you'd like to create a base GAE project, ready to run, test and deploy, check it out.
It will by default create a Java 8 project, but now it supports custom java versions, like Java 11.
Just add -Djava-version=11
to your command:
mvn archetype:generate -DarchetypeGroupId=xyz.luan.generator -DarchetypeArtifactId=xyz-generator -DarchetypeVersion=0.3.0 -Djava-version=11
- It adds UTF-8 encoding and Java 8 support to your pom (zero warnings first build)
- It adds better test libraries (updated JUnit plus AssertJ)
- It adds a gitignore (hurray!)