parent-pom
Just a parent pom project that I use in some projects.
Quality Assurance
Use the qulice
profile:
mvn clean install -Pqulice
Add/Update license headers:
Use the header
profile:
mvn clean install -Pheader
Send data to Coveralls
Use the CI
profile:
mvn clean install -PCI
Don't forget to set the coveralls.token
property.
Run mutation tests
Use the mutation
profile:
mvn clean install -Pmutation
You might want to adjust the mutation.minimum
property.
Add coverage check to build
This will break the build if the coverage is less than 70% (configurable via jacoco.minimum
property):
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
</plugin>
</plugins>
</build>