Maven parent POM for generating build reports for CI servers, pushing artifacts to Sonatype OSSRH and site documentation to GitHub
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Build Reports

In effort to keep the actual Maven project's pom.xml concise and clean, this parent POM generates various build reports for Maven site and Continuous Integration Servers (Jenkins, SonarQube, etc).

This parent POM also includes a profile that allows you to push:-

How to Use

Add the following configuration to your project's pom.xml:-

<project ...>

Jenkins Integration

mvn clean test site

SonarQube Integration

Create a Maven profile, for example:-


Run the following goals and profile:-

mvn clean test sonar:sonar -Psonarqube

Deploy to Sonatype OSSRH

mvn clean deploy -Possrh-deploy

Deploy Site to GitHub

mvn clean test site -Possrh-deploy

Important Notes

Build Plugins

Profile: "ossrh-deploy"