Personal Parent POM
Find a file
2017-09-18 15:48:31 +01:00
.mvn/wrapper mvnw: add maven wrapper 2017-05-28 20:22:00 +01:00
.travis-support@5fdf0501a9 .travis-support: fixed typo 2017-07-22 12:24:27 +01:00
.gitignore .gitignore: ignore checkstyle and findbugs plugin configurations 2016-07-02 15:01:44 +01:00
.gitmodules .gitmodules: use annonymous access for submodule 2017-07-21 22:20:32 +01:00
.travis.yml .travis.yml: remove legacy global environment variables 2017-07-21 22:27:17 +01:00
CHANGELOG version: set to 4.0.0-SNAPSHOT 2017-09-18 14:37:33 +01:00
codesigning.asc.enc .travis-support: added 2017-07-21 22:12:31 +01:00
LICENSE.txt LICENSE.txt: added - required by kemitix-checkstyle-ruleset 2016-09-11 18:15:33 +01:00
mvnw mvnw: add maven wrapper 2017-05-28 20:22:00 +01:00
mvnw.cmd mvnw: add maven wrapper 2017-05-28 20:22:00 +01:00
pom.xml version: set to 4.0.0 2017-09-18 15:48:31 +01:00
README.md version: set to 4.0.0-SNAPSHOT 2017-09-18 14:37:33 +01:00

KEMITIX-PARENT

This Maven Parent POM several preconfigured plugins.

Usage

Maven

<parent>
    <groupId>net.kemitix</groupId>
    <artifactId>kemitix-parent</artifactId>
    <version>RELEASE</version>
</parent>

Versions

If you want to override the version or configuration values of any of the plugins configured by this parent, you can set the following properties to the desired value.

  • project.build.sourceEncoding
  • project.reporting.outputEncoding
  • kemitix.build.directory
  • kemitix-quality-maven-plugin.version
  • lombok.version
  • maven-javadoc-plugin.version
  • maven-source-plugin.version
  • maven-gpg-plugin.version
  • maven-deploy-plugin.version
  • maven-compiler-plugin.version
  • maven-surefire-plugin.version
  • maven-failsafe-plugin.version
  • maven-jxr-plugin.version
  • java.version
  • versions.version
  • coveralls-maven-plugin.version

Kemitix Quality

The kemitix-quality-maven-plugin provides several preconfigured quality related plugins.

N.B. The Kemitix Quality plugin required 100% code instruction coverage and mutation ratio. See the project page for details of adjusting these levels if needed.

Maven Compiler Plugin

The Maven Compiler Plugin compiles your sources.

Configuration

Ref: compile:compile

  • showDeprecation: true
  • showWarnings: true
  • source: ${java.version}
  • target: ${java.version}
  • encoding: ${project.build.sourceEncoding}

Maven Surefire Plugin

The Maven Surefire Plugin runs your Unit Tests.

Configuration

No configuration applied beyond the defaults.

Maven Failsafe Plugin

The Maven Failsafe Plugin runs your Integration Tests.

Runs its integration-test goal during the verify phase.

Configuration

No configuration applied beyond the defaults.

Maven Source Plugin

The Maven Source Plugin bundles your sources into a jar file ready for deployment.

Runs its jar-no-fork goal during the verify phase.

Configuration

No configuration applied beyond the defaults.

Maven Javadoc Plugin

The Maven Javadoc Plugin generates your html javadocs and bundles them into a jar file ready for deployment.

Runs its jar goal during the verify phase.

Configuration

No configuration applied beyond the defaults.

Maven Deploy Plugin

The Maven Deploy Plugin uploads your artifacts to a remote repository.

Configuration

No configuration applied beyond the defaults.

Maven JXR Plugin

The Maven JXR Plugin produces cross-referenced HTML pages of your source code.

Configuration

No configuration applied beyond the defaults.

Coveralls

The Coveralls Maven Plugin publishes coverage data to coveralls.io.

Configuration

The plugin is not configured to run automatically. It must be initiated manually:

mvn -P release test jacoco:report coveralls:report

Requirements

In order to use the plugin:

  • must enable the release profile

Distribution Management

Remote repositories are provided for the Sonatype Nexus Snapshots and Nexus Release Repositories. See the OSSRH Guide for information on how to deploy your artifact the Maven Central through Sonatype.

Changing the Build Directory

If you want to change the build directory, e.g. from your settings.xml to an SSD or ram drive, then set the value of the kemitix.build.directory to your required locations. e.g. <properties> <kemitix.build.directory>/mnt/ramdrive/${project.groupId}/${project.artifactId}</kemitix.build.directory> </properties>