|
4 | 4 | <modelVersion>4.0.0</modelVersion>
|
5 | 5 | <groupId>io.diffblue.corebanking</groupId>
|
6 | 6 | <artifactId>CoreBanking</artifactId>
|
7 |
| - <version>1.0.0</version> |
| 7 | + <version>1.0.1-JUnit5</version> |
8 | 8 | <properties>
|
9 | 9 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
10 | 10 | <maven.compiler.source>1.8</maven.compiler.source>
|
11 | 11 | <maven.compiler.target>1.8</maven.compiler.target>
|
| 12 | + <jacoco.version>0.8.5</jacoco.version> |
12 | 13 | </properties>
|
13 | 14 | <dependencies>
|
| 15 | + <!-- Only for JCover --> |
14 | 16 | <dependency>
|
15 |
| - <groupId>junit</groupId> |
16 |
| - <artifactId>junit</artifactId> |
17 |
| - <version>4.13.2</version> |
| 17 | + <groupId>org.mockito</groupId> |
| 18 | + <artifactId>mockito-core</artifactId> |
| 19 | + <version>4.7.0</version> |
18 | 20 | <scope>test</scope>
|
19 | 21 | </dependency>
|
| 22 | + <dependency> |
| 23 | + <groupId>org.junit.jupiter</groupId> |
| 24 | + <artifactId>junit-jupiter-engine</artifactId> |
| 25 | + <version>5.5.2</version> |
| 26 | + <scope>test</scope> |
| 27 | + </dependency> |
| 28 | + <dependency> |
| 29 | + <groupId>org.jacoco</groupId> |
| 30 | + <artifactId>org.jacoco.agent</artifactId> |
| 31 | + <version>0.8.2</version> |
| 32 | + <scope>test</scope> |
| 33 | + <classifier>runtime</classifier> |
| 34 | + </dependency> |
20 | 35 | </dependencies>
|
21 | 36 | <build>
|
22 | 37 | <plugins>
|
| 38 | + <!-- DIFFBLUE --> |
| 39 | + <plugin> |
| 40 | + <groupId>org.pitest</groupId> |
| 41 | + <artifactId>pitest-maven</artifactId> |
| 42 | + <version>1.5.2</version> |
| 43 | + <dependencies> |
| 44 | + <dependency> |
| 45 | + <groupId>org.pitest</groupId> |
| 46 | + <artifactId>pitest-junit5-plugin</artifactId> |
| 47 | + <version>0.12</version> |
| 48 | + </dependency> |
| 49 | + </dependencies> |
| 50 | + </plugin> |
23 | 51 | <plugin>
|
24 | 52 | <groupId>org.apache.maven.plugins</groupId>
|
25 | 53 | <artifactId>maven-assembly-plugin</artifactId>
|
|
52 | 80 | <plugin>
|
53 | 81 | <groupId>org.apache.maven.plugins</groupId>
|
54 | 82 | <artifactId>maven-surefire-plugin</artifactId>
|
55 |
| - <version>3.0.0</version> |
| 83 | + <version>3.0.0-M3</version> |
| 84 | + <dependencies> |
| 85 | + <dependency> |
| 86 | + <groupId>org.junit.platform</groupId> |
| 87 | + <artifactId>junit-platform-surefire-provider</artifactId> |
| 88 | + <version>1.2.0</version> |
| 89 | + </dependency> |
| 90 | + </dependencies> |
| 91 | + </plugin> |
| 92 | + <plugin> |
| 93 | + <groupId>org.jacoco</groupId> |
| 94 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 95 | + <version>${jacoco.version}</version> |
| 96 | + <executions> |
| 97 | + <execution> |
| 98 | + <goals> |
| 99 | + <goal>prepare-agent</goal> |
| 100 | + </goals> |
| 101 | + </execution> |
| 102 | + <execution> |
| 103 | + <id>report</id> |
| 104 | + <phase>prepare-package</phase> |
| 105 | + <goals> |
| 106 | + <goal>report</goal> |
| 107 | + </goals> |
| 108 | + </execution> |
| 109 | + </executions> |
56 | 110 | </plugin>
|
57 | 111 | </plugins>
|
58 | 112 | </build>
|
|
0 commit comments