Merge branch release/0.8.0 into master

Allow the build directory to be overridden
Upgrade maven-compiler-plugin to 3.5.1
Clean up Jacoco configuration
Exclude Integration Tests from Jacoco (classes ending in *IT)

Signed-off-by: Paul Campbell <pcampbell@kemitix.net>
This commit is contained in:
Paul Campbell 2016-02-17 14:30:55 +00:00
commit bf34635ea5
3 changed files with 25 additions and 13 deletions

View file

@ -1,6 +1,14 @@
CHANGELOG
=========
0.8.0
------
* Allow the build directory to be overridden
* Upgrade maven-compiler-plugin to 3.5.1
* Clean up Jacoco configuration
* Exclude Integration Tests from Jacoco (classes ending in *IT)
0.7.1
------

View file

@ -190,3 +190,12 @@ Remote repositories are provided for the Sonatype Nexus Snapshots and Nexus Rele
Repositories. See the [OSSRH Guide](http://central.sonatype.org/pages/ossrh-guide.html)
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>`

21
pom.xml
View file

@ -4,7 +4,7 @@
<groupId>net.kemitix</groupId>
<artifactId>kemitix-parent</artifactId>
<version>0.7.1</version>
<version>0.8.0</version>
<packaging>pom</packaging>
<name>Kemitix Parent</name>
@ -39,6 +39,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<kemitix.build.directory>target</kemitix.build.directory>
</properties>
<developers>
@ -123,6 +124,7 @@
</pluginRepositories>
<build>
<directory>${kemitix.build.directory}</directory>
<pluginManagement>
<plugins>
<plugin>
@ -148,7 +150,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5</version>
<version>3.5.1</version>
<configuration>
<compilerArgs>
<arg>-Xlint:unchecked</arg>
@ -272,10 +274,11 @@
</executions>
<configuration>
<rules>
<rule implementation="org.jacoco.maven.RuleConfiguration">
<rule>
<element>CLASS</element>
<excludes>
<exclude>*Test</exclude>
<exclude>*IT</exclude>
</excludes>
<limits>
<limit>
@ -283,20 +286,12 @@
<value>COVEREDRATIO</value>
<minimum>0.50</minimum>
</limit>
</limits>
</rule>
<rule implementation="org.jacoco.maven.RuleConfiguration">
<element>CLASS</element>
<excludes>
<exclude>*Test</exclude>
</excludes>
<limits>
<limit implementation="org.jacoco.report.check.Limit">
<limit>
<counter>INSTRUCTION</counter>
<value>COVEREDRATIO</value>
<minimum>0.80</minimum>
</limit>
<limit implementation="org.jacoco.report.check.Limit">
<limit>
<counter>CLASS</counter>
<value>MISSEDCOUNT</value>
<maximum>0</maximum>