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
- Host: GitHub
- URL: https://github.com/mcfoggy/jee-war-archetype
- Owner: McFoggy
- Created: 2016-02-08T16:04:14.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-11-20T08:06:13.000Z (about 9 years ago)
- Last Synced: 2025-02-15T21:19:45.136Z (10 months ago)
- Language: Java
- Homepage: http://oss.brouillard.fr/
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`