Ready to use maven archetype generating jee compliant maven web project.
- war based project
- versioning using jgitver
- CDI enabled
- JAX-RS activated
- unit testing enabled:
- unit testing
- integration tests using arquillian chameleon
simply call mvn archetype:generate -Dfilter=fr.brouillard.oss:jee-war-archetype
and follow instructions
In case the central repository does not expose the good version of the archetype (latest is 7.0.1
) you can force the usage by running the following:
mvn archetype:generate -DarchetypeArtifactId=jee-war-archetype -DarchetypeGroupId=fr.brouillard.oss -DarchetypeVersion=7.0.1 -DarchetypeRepository=https://repo1.maven.org/maven
use mvn archetype:generate -DarchetypeCatalog=local
to use only archetypes built locally and thus avoid to retrieve remote versions
mvn -Poss clean install
: this will simulate a full build for oss delivery (javadoc, source attachement, GPG signature, ...)git tag -a -s -m "release X.Y.Z, additionnal reason" X.Y.Z
: tag the current HEAD with the given tag name. The tag is signed by the author of the release. Adapt with gpg key of maintainer.- Matthieu Brouillard command:
git tag -a -s -u 2AB5F258 -m "release X.Y.Z, additionnal reason" X.Y.Z
- Matthieu Brouillard public key
- Matthieu Brouillard command:
mvn -Poss,release -DskipTests deploy
git push --follow-tags origin master