LU
luanpotter/xyz-generator
An updated version of maven-archetype-quickstart
xyz-generator
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.0And 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=falseAre 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.
Custom Java version
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=11Why is it better than quickstart?
- 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!)
On this page
Languages
Java100.0%
Contributors
MIT License
Created December 20, 2017
Updated November 2, 2018