|
1 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
3 | | - <modelVersion>4.0.0</modelVersion> |
4 | | - <groupId>com.baeldung</groupId> |
5 | | - <artifactId>mutation-testing</artifactId> |
6 | | - <version>0.1-SNAPSHOT</version> |
7 | | - <name>mutation-testing</name> |
8 | | - <dependencies> |
9 | | - <dependency> |
10 | | - <groupId>org.pitest</groupId> |
11 | | - <artifactId>pitest-parent</artifactId> |
12 | | - <version>1.1.10</version> |
13 | | - <type>pom</type> |
14 | | - </dependency> |
15 | | - <dependency> |
16 | | - <groupId>junit</groupId> |
17 | | - <artifactId>junit</artifactId> |
18 | | - <version>4.9</version> |
19 | | - </dependency> |
20 | | - </dependencies> |
21 | | - <build> |
22 | | - <plugins> |
23 | | - <plugin> |
24 | | - <groupId>org.pitest</groupId> |
25 | | - <artifactId>pitest-maven</artifactId> |
26 | | - <version>1.1.10</version> |
27 | | - <configuration> |
28 | | - <targetClasses> |
29 | | - <param>com.baeldung.testing.mutation.*</param> |
30 | | - </targetClasses> |
31 | | - <targetTests> |
32 | | - <param>com.baeldung.mutation.test.*</param> |
33 | | - </targetTests> |
34 | | - </configuration> |
35 | | - </plugin> |
36 | | - <plugin> |
37 | | - <groupId>org.jacoco</groupId> |
38 | | - <artifactId>jacoco-maven-plugin</artifactId> |
39 | | - <version>0.7.7.201606060606</version> |
40 | | - <executions> |
41 | | - <execution> |
42 | | - <goals> |
43 | | - <goal>prepare-agent</goal> |
44 | | - </goals> |
45 | | - </execution> |
46 | | - <execution> |
47 | | - <id>report</id> |
48 | | - <phase>prepare-package</phase> |
49 | | - <goals> |
50 | | - <goal>report</goal> |
51 | | - </goals> |
52 | | - </execution> |
53 | | - <execution> |
54 | | - <id>jacoco-check</id> |
55 | | - <goals> |
56 | | - <goal>check</goal> |
57 | | - </goals> |
58 | | - <configuration> |
59 | | - <rules> |
60 | | - <rule> |
61 | | - <element>PACKAGE</element> |
62 | | - <limits> |
63 | | - <limit> |
64 | | - <counter>LINE</counter> |
65 | | - <value>COVEREDRATIO</value> |
66 | | - <minimum>0.50</minimum> |
67 | | - </limit> |
68 | | - </limits> |
69 | | - </rule> |
70 | | - </rules> |
71 | | - </configuration> |
72 | | - </execution> |
73 | | - </executions> |
74 | | - </plugin> |
75 | | - </plugins> |
76 | | - </build> |
77 | | -</project> |
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + <groupId>com.baeldung</groupId> |
| 5 | + <artifactId>mutation-testing</artifactId> |
| 6 | + <version>0.1-SNAPSHOT</version> |
| 7 | + <name>mutation-testing</name> |
| 8 | + <dependencies> |
| 9 | + <dependency> |
| 10 | + <groupId>org.pitest</groupId> |
| 11 | + <artifactId>pitest-parent</artifactId> |
| 12 | + <version>1.1.10</version> |
| 13 | + <type>pom</type> |
| 14 | + </dependency> |
| 15 | + <dependency> |
| 16 | + <groupId>junit</groupId> |
| 17 | + <artifactId>junit</artifactId> |
| 18 | + <version>4.9</version> |
| 19 | + </dependency> |
| 20 | + </dependencies> |
| 21 | + <build> |
| 22 | + <plugins> |
| 23 | + <plugin> |
| 24 | + <groupId>org.pitest</groupId> |
| 25 | + <artifactId>pitest-maven</artifactId> |
| 26 | + <version>1.1.10</version> |
| 27 | + <configuration> |
| 28 | + <targetClasses> |
| 29 | + <param>com.baeldung.testing.mutation.*</param> |
| 30 | + </targetClasses> |
| 31 | + <targetTests> |
| 32 | + <param>com.baeldung.mutation.test.*</param> |
| 33 | + </targetTests> |
| 34 | + </configuration> |
| 35 | + </plugin> |
| 36 | + <plugin> |
| 37 | + <groupId>org.jacoco</groupId> |
| 38 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 39 | + <version>0.7.7.201606060606</version> |
| 40 | + <executions> |
| 41 | + <execution> |
| 42 | + <goals> |
| 43 | + <goal>prepare-agent</goal> |
| 44 | + </goals> |
| 45 | + </execution> |
| 46 | + <execution> |
| 47 | + <id>report</id> |
| 48 | + <phase>prepare-package</phase> |
| 49 | + <goals> |
| 50 | + <goal>report</goal> |
| 51 | + </goals> |
| 52 | + </execution> |
| 53 | + <execution> |
| 54 | + <id>jacoco-check</id> |
| 55 | + <goals> |
| 56 | + <goal>check</goal> |
| 57 | + </goals> |
| 58 | + <configuration> |
| 59 | + <rules> |
| 60 | + <rule> |
| 61 | + <element>PACKAGE</element> |
| 62 | + <limits> |
| 63 | + <limit> |
| 64 | + <counter>LINE</counter> |
| 65 | + <value>COVEREDRATIO</value> |
| 66 | + <minimum>0.50</minimum> |
| 67 | + </limit> |
| 68 | + </limits> |
| 69 | + </rule> |
| 70 | + </rules> |
| 71 | + </configuration> |
| 72 | + </execution> |
| 73 | + </executions> |
| 74 | + </plugin> |
| 75 | + </plugins> |
| 76 | + </build> |
| 77 | +</project> |
0 commit comments