JHipster module, This module enables release management using the maven release plugin, as well as maven site generation, which aggregagtes reports and provide a site from them
This is a JHipster module adding maven site generation as well as maven release management capabilities.
As this is a JHipster module, we expect you have JHipster and its related tools already installed:
To install this module:
yarn global add generator-jhipster-enterprise-pom
To update this module:
yarn global upgrade generator-jhipster-enterprise-pom
To install this module:
npm install -g generator-jhipster-enterprise-pom
To update this module:
npm update -g generator-jhipster-enterprise-pom
In your JHipster project, launch:
yo jhipster-enterprise-pom
, it will generate 2 new poms on your project:
- One for Parent configuration (release, signing, ...)
- One for reporting configuration, which will inherit from the parent one And it will change the original pom adding the reporting pom as parent.
You can then release to an ARM (for example Maven-central) with a signed gpg key and your credentials using these commands:
./mvnw -f .mvn/parent/pom.xml --batch-mode release:prepare -DdryRun=true ./mvnw -f .mvn/parent/pom.xml --batch-mode release:clean ./mvnw site ./mvnw -f .mvn/parent/pom.xml --batch-mode release:prepare ./mvnw -f .mvn/parent/pom.xml --batch-mode release:perform -P nexus-pro
You can take a look at that sample project which continuously release using travis.
Apache-2.0 © Charlie Mordant