An open API service indexing awesome lists of open source software.

https://github.com/mcfoggy/jee-war-archetype

Ready to use jee-war-archetype with tests, IT tests, arquillian chameleon
https://github.com/mcfoggy/jee-war-archetype

Last synced: 8 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# jee-war-archetype

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

## Generated project content:

- war based project
- versioning using [jgitver](https://github.com/jgitver/jgitver-maven-plugin)
- 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](https://sks-keyservers.net/pks/lookup?op=get&search=0x8139E8632AB5F258)
- `mvn -Poss,release -DskipTests deploy`
- `git push --follow-tags origin master`