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