|
83 | 83 | </dependency> |
84 | 84 | <dependency> |
85 | 85 | <groupId>org.mockito</groupId> |
86 | | - <artifactId>mockito-all</artifactId> |
87 | | - <version>1.10.19</version> |
| 86 | + <artifactId>mockito-core</artifactId> |
| 87 | + <version>4.11.0</version> |
88 | 88 | <scope>test</scope> |
89 | 89 | </dependency> |
90 | 90 | <!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/mockwebserver --> |
|
201 | 201 | <target>11</target> |
202 | 202 | </configuration> |
203 | 203 | </plugin> |
| 204 | + <plugin> |
| 205 | + <groupId>org.jacoco</groupId> |
| 206 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 207 | + <version>0.8.13</version> |
| 208 | + <configuration> |
| 209 | + <excludes> |
| 210 | + <exclude>**/*.yml</exclude> |
| 211 | + <exclude>**/*.tf</exclude> |
| 212 | + <exclude>**/*.sh</exclude> |
| 213 | + <exclude>**/*.yaml</exclude> |
| 214 | + <exclude>**/*.xml</exclude> |
| 215 | + <exclude>**/*.properties</exclude> |
| 216 | + <exclude>**/*.avsc</exclude> |
| 217 | + <exclude>**/com/mailjet/client/errors/**</exclude> |
| 218 | + <exclude>**/com/mailjet/client/enums/**</exclude> |
| 219 | + <exclude>**/com/mailjet/client/resource/**</exclude> |
| 220 | + <exclude>**/com/mailjet/client/transactional/response/**</exclude> |
| 221 | + </excludes> |
| 222 | + </configuration> |
| 223 | + <executions> |
| 224 | + <execution> |
| 225 | + <id>pre-unit-prepare</id> |
| 226 | + <goals> |
| 227 | + <goal>prepare-agent</goal> |
| 228 | + </goals> |
| 229 | + <configuration> |
| 230 | + <destFile>${project.build.directory}/jacoco-ut.exec</destFile> |
| 231 | + </configuration> |
| 232 | + </execution> |
| 233 | + <execution> |
| 234 | + <id>pre-integration-prepare</id> |
| 235 | + <goals> |
| 236 | + <goal>prepare-agent-integration</goal> |
| 237 | + </goals> |
| 238 | + <configuration> |
| 239 | + <destFile>${project.build.directory}/jacoco-it.exec</destFile> |
| 240 | + </configuration> |
| 241 | + </execution> |
| 242 | + <execution> |
| 243 | + <id>report-unit</id> |
| 244 | + <phase>test</phase> |
| 245 | + <goals> |
| 246 | + <goal>report</goal> |
| 247 | + </goals> |
| 248 | + <configuration> |
| 249 | + <outputDirectory>${project.build.directory}/jacoco-ut</outputDirectory> |
| 250 | + <dataFile>${project.build.directory}/jacoco-ut.exec</dataFile> |
| 251 | + </configuration> |
| 252 | + </execution> |
| 253 | + <execution> |
| 254 | + <id>report-integration</id> |
| 255 | + <phase>verify</phase> |
| 256 | + <goals> |
| 257 | + <goal>report</goal> |
| 258 | + </goals> |
| 259 | + <configuration> |
| 260 | + <outputDirectory>${project.build.directory}/jacoco-it</outputDirectory> |
| 261 | + <dataFile>${project.build.directory}/jacoco-it.exec</dataFile> |
| 262 | + </configuration> |
| 263 | + </execution> |
| 264 | + </executions> |
| 265 | + </plugin> |
204 | 266 | </plugins> |
205 | 267 | </build> |
206 | 268 | <profiles> |
|
0 commit comments