Repository: incubator-tamaya-extensions Updated Branches: refs/heads/master 8257af433 -> 4419fdc99
[TAMAYA-290] Added profile which will run PIT as configured. Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/commit/4419fdc9 Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/tree/4419fdc9 Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/diff/4419fdc9 Branch: refs/heads/master Commit: 4419fdc99a8b69da9c2c0e17ae95dcebcfb0814b Parents: 8257af4 Author: Oliver B. Fischer <[email protected]> Authored: Sat Sep 23 13:36:43 2017 +0200 Committer: Oliver B. Fischer <[email protected]> Committed: Sat Sep 23 13:36:43 2017 +0200 ---------------------------------------------------------------------- examples/01-resources-example/pom.xml | 12 ++++++++++++ examples/02-resolver-example/pom.xml | 11 +++++++++++ examples/03-injection-example/pom.xml | 13 +++++++++++++ examples/04-events-example/pom.xml | 13 +++++++++++++ pom.xml | 24 +++++++++++++++++++++++- 5 files changed, 72 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/blob/4419fdc9/examples/01-resources-example/pom.xml ---------------------------------------------------------------------- diff --git a/examples/01-resources-example/pom.xml b/examples/01-resources-example/pom.xml index e8a269c..fb386d9 100644 --- a/examples/01-resources-example/pom.xml +++ b/examples/01-resources-example/pom.xml @@ -51,4 +51,16 @@ under the License. </dependency> </dependencies> + <build> + <plugins> + <plugin> + <groupId>org.pitest</groupId> + <artifactId>pitest-maven</artifactId> + <configuration> + <skip>true</skip> + </configuration> + </plugin> + </plugins> + </build> + </project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/blob/4419fdc9/examples/02-resolver-example/pom.xml ---------------------------------------------------------------------- diff --git a/examples/02-resolver-example/pom.xml b/examples/02-resolver-example/pom.xml index fd97227..1da70e5 100644 --- a/examples/02-resolver-example/pom.xml +++ b/examples/02-resolver-example/pom.xml @@ -54,5 +54,16 @@ under the License. </dependencies> + <build> + <plugins> + <plugin> + <groupId>org.pitest</groupId> + <artifactId>pitest-maven</artifactId> + <configuration> + <skip>true</skip> + </configuration> + </plugin> + </plugins> + </build> </project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/blob/4419fdc9/examples/03-injection-example/pom.xml ---------------------------------------------------------------------- diff --git a/examples/03-injection-example/pom.xml b/examples/03-injection-example/pom.xml index d647359..28083bc 100644 --- a/examples/03-injection-example/pom.xml +++ b/examples/03-injection-example/pom.xml @@ -71,5 +71,18 @@ under the License. </dependencies> + <build> + <plugins> + <plugin> + <groupId>org.pitest</groupId> + <artifactId>pitest-maven</artifactId> + <configuration> + <skip>true</skip> + </configuration> + </plugin> + </plugins> + </build> + + </project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/blob/4419fdc9/examples/04-events-example/pom.xml ---------------------------------------------------------------------- diff --git a/examples/04-events-example/pom.xml b/examples/04-events-example/pom.xml index b6addcc..5b6b65f 100644 --- a/examples/04-events-example/pom.xml +++ b/examples/04-events-example/pom.xml @@ -68,4 +68,17 @@ under the License. </dependency> </dependencies> + <build> + <plugins> + <plugin> + <groupId>org.pitest</groupId> + <artifactId>pitest-maven</artifactId> + <configuration> + <skip>true</skip> + </configuration> + </plugin> + </plugins> + </build> + + </project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/blob/4419fdc9/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index b561990..7212087 100644 --- a/pom.xml +++ b/pom.xml @@ -522,14 +522,17 @@ under the License. <artifactId>pitest-maven</artifactId> <version>${pitest-plugin.version}</version> <configuration> - <coverageThreshold>80</coverageThreshold> + <mutationThreshold>50</mutationThreshold> <timestampedReports>false</timestampedReports> <targetClasses> <param>org.apache.tamaya.*</param> </targetClasses> + <excludedClasses> + </excludedClasses> <excludedMethods> <param>toString</param> </excludedMethods> + <verbose>true</verbose> </configuration> </plugin> @@ -803,6 +806,25 @@ under the License. </build> <profiles> + <profile> + <id>coverage</id> + <build> + <plugins> + <plugin> + <groupId>org.pitest</groupId> + <artifactId>pitest-maven</artifactId> + <executions> + <execution> + <id>mutationcoverage</id> + <goals> + <goal>mutationCoverage</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> <!-- The release profile. It ensures that all checks will be done and everything will be build what need to be build. -->
