setup pitest for testing and fixed dep error after last rename.

This commit is contained in:
Willem 2016-11-19 21:14:14 +01:00
parent 514a572efa
commit 2fb6ab16a7
5 changed files with 35 additions and 5 deletions

View file

@ -11,7 +11,7 @@
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tpquery-store</artifactId>
<artifactId>ff-tpquery-store</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>

View file

@ -11,7 +11,7 @@
<dependencies>
<dependency>
<groupId>net.forwardfire.tpquery</groupId>
<artifactId>tpquery-store</artifactId>
<artifactId>ff-tpquery-store</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>

View file

@ -17,7 +17,7 @@ import net.forwardfire.tpquery.TPQFactory;
import net.forwardfire.tpquery.config.TPQConfig;
import net.forwardfire.tpquery.statement.AbstractTPQStatementWriter;
import net.forwardfire.tpquery.statement.TPQStatementWriter;
import net.forwardfire.tpquery.statement.language.TPQStatementLanguage;
import net.forwardfire.tpquery.statement.TPQStatementLanguage;
import net.forwardfire.tpquery.store.executor.jpa.TPQExecutorJpa;
import net.forwardfire.tpquery.store.proxy.TPQueryName;
import net.forwardfire.tpquery.store.proxy.TPQueryProxyFactory;

View file

@ -8,6 +8,9 @@
</parent>
<artifactId>ff-tpquery-store</artifactId>
<name>FF TPQuery Store</name>
<properties>
<pitest.classes>net.forwardfire.tpquery*</pitest.classes>
</properties>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>

31
pom.xml
View file

@ -31,9 +31,10 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.sourceVersion>1.8</project.build.sourceVersion>
<!-- workaround for: [WARNING] 'reporting.plugins.plugin.version' for ... -->
<jacoco-maven-plugin.version>0.7.4.201502262128</jacoco-maven-plugin.version><!-- invalid format 1007: <version>0.7.5.201505241946</version> -->
<jacoco-maven-plugin.version>0.7.4.201502262128</jacoco-maven-plugin.version><!--
invalid format 1007: <version>0.7.5.201505241946</version> -->
<maven-javadoc-plugin.version>2.10.3</maven-javadoc-plugin.version>
<maven-project-info-reports-plugin>2.8</maven-project-info-reports-plugin>
</properties>
@ -171,6 +172,32 @@
<skipTests>true</skipTests>
</properties>
</profile>
<profile>
<id>test-pitest</id>
<build>
<plugins>
<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<version>1.1.10</version>
<configuration>
<targetClasses>
<param>${pitest.classes}</param>
</targetClasses>
<targetTests>
<param>net.forwardfire.tpquery*</param>
</targetTests>
<avoidCallsTo>
<avoidCallsTo>java.util.logging</avoidCallsTo>
<avoidCallsTo>org.apache.log4j</avoidCallsTo>
<avoidCallsTo>org.slf4j</avoidCallsTo>
<avoidCallsTo>org.apache.commons.logging</avoidCallsTo>
</avoidCallsTo>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>test-jacoco</id>
<build>