McFoggy / jee-war-archetype

Ready to use jee-war-archetype with tests, IT tests, arquillian chameleon

Home Page:http://oss.brouillard.fr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jee-war-archetype

Ready to use maven archetype generating jee compliant maven web project.

Generated project content:

  • war based project
  • versioning using jgitver
  • CDI enabled
  • JAX-RS activated
  • unit testing enabled:
    • unit testing
    • integration tests using arquillian chameleon

Usage

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

Development

use mvn archetype:generate -DarchetypeCatalog=local to use only archetypes built locally and thus avoid to retrieve remote versions

Release

  • 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
  • mvn -Poss,release -DskipTests deploy
  • git push --follow-tags origin master

About

Ready to use jee-war-archetype with tests, IT tests, arquillian chameleon

http://oss.brouillard.fr/


Languages

Language:Java 100.0%