2017-01-13 19:36:07 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>net.kemitix</groupId>
|
2017-01-14 16:17:04 +00:00
|
|
|
<artifactId>kemitix-checkstyle-ruleset-parent</artifactId>
|
2017-05-27 16:48:15 +01:00
|
|
|
<version>3.1.0-SNAPSHOT</version>
|
2017-01-13 19:36:07 +00:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>kemitix-checkstyle-ruleset-maven-plugin</artifactId>
|
|
|
|
<packaging>maven-plugin</packaging>
|
|
|
|
<name>Kemitix Checkstyle Ruleset Maven Plugin</name>
|
|
|
|
<description>Checkstyle configuration using the Kemitix Checkstyle Ruleset</description>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
2017-05-25 16:28:35 +01:00
|
|
|
<maven.version>3.5.0</maven.version>
|
2017-02-08 11:31:44 +00:00
|
|
|
<maven-compiler-plugin.version>3.6.1</maven-compiler-plugin.version>
|
2017-01-13 19:36:07 +00:00
|
|
|
<maven-plugin-plugin.version>3.5</maven-plugin-plugin.version>
|
|
|
|
<maven-plugin-annotations.version>3.5</maven-plugin-annotations.version>
|
2017-01-15 10:49:18 +00:00
|
|
|
<maven-javadoc-plugin.version>2.10.4</maven-javadoc-plugin.version>
|
|
|
|
<maven-source-plugin.version>3.0.1</maven-source-plugin.version>
|
|
|
|
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
|
|
|
|
<maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
|
2017-05-25 16:28:35 +01:00
|
|
|
<mojo-executor.version>2.3.0</mojo-executor.version>
|
|
|
|
<lombok.version>1.16.16</lombok.version>
|
2017-01-13 19:36:07 +00:00
|
|
|
<map-builder.version>1.0.0</map-builder.version>
|
2017-05-26 17:13:34 +01:00
|
|
|
<jacoco-maven-plugin.version>0.7.9</jacoco-maven-plugin.version>
|
|
|
|
<jacoco-class-line-covered-ratio>0.50</jacoco-class-line-covered-ratio>
|
|
|
|
<jacoco-class-instruction-covered-ratio>0.80</jacoco-class-instruction-covered-ratio>
|
|
|
|
<jacoco-class-missed-count-maximum>0</jacoco-class-missed-count-maximum>
|
2017-01-13 19:36:07 +00:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-plugin-api</artifactId>
|
|
|
|
<version>${maven.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-core</artifactId>
|
|
|
|
<version>${maven.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.plugin-tools</groupId>
|
|
|
|
<artifactId>maven-plugin-annotations</artifactId>
|
|
|
|
<version>${maven-plugin-annotations.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.twdata.maven</groupId>
|
|
|
|
<artifactId>mojo-executor</artifactId>
|
|
|
|
<version>${mojo-executor.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<version>${lombok.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>me.andrz</groupId>
|
|
|
|
<artifactId>map-builder</artifactId>
|
|
|
|
<version>${map-builder.version}</version>
|
|
|
|
</dependency>
|
2017-05-26 15:42:02 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2017-01-13 19:36:07 +00:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2017-01-14 16:34:50 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<compilerArgs>
|
|
|
|
<arg>-Xlint:unchecked</arg>
|
|
|
|
</compilerArgs>
|
|
|
|
<showDeprecation>true</showDeprecation>
|
|
|
|
<showWarnings>true</showWarnings>
|
|
|
|
<source>1.8</source>
|
|
|
|
<target>1.8</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin><!-- maven-compiler-plugin -->
|
2017-05-26 17:13:34 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
|
|
<version>${jacoco-maven-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>prepare-agent</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>report</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>report</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>default-check</id>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<rule>
|
|
|
|
<element>CLASS</element>
|
|
|
|
<excludes>
|
|
|
|
<exclude>*HelpMojo</exclude>
|
|
|
|
</excludes>
|
|
|
|
<limits>
|
|
|
|
<limit>
|
|
|
|
<counter>LINE</counter>
|
|
|
|
<value>COVEREDRATIO</value>
|
|
|
|
<minimum>${jacoco-class-line-covered-ratio}</minimum>
|
|
|
|
</limit>
|
|
|
|
<limit>
|
|
|
|
<counter>INSTRUCTION</counter>
|
|
|
|
<value>COVEREDRATIO</value>
|
|
|
|
<minimum>${jacoco-class-instruction-covered-ratio}</minimum>
|
|
|
|
</limit>
|
|
|
|
<limit>
|
|
|
|
<counter>CLASS</counter>
|
|
|
|
<value>MISSEDCOUNT</value>
|
|
|
|
<maximum>${jacoco-class-missed-count-maximum}</maximum>
|
|
|
|
</limit>
|
|
|
|
</limits>
|
|
|
|
</rule>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</plugin><!-- jacoco-maven-plugin -->
|
2017-01-15 11:20:30 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2017-01-13 19:36:07 +00:00
|
|
|
</project>
|