|
334 | 334 | <artifactId>powermock-api-mockito2</artifactId> |
335 | 335 | <version>${version.powermock}</version> |
336 | 336 | <scope>test</scope> |
337 | | - <exclusions> |
338 | | - <exclusion> |
339 | | - <!-- A subdependency: org.powermock:powermock-core:2.0.0, results in the import of: org.javassist:javassist:3.24.0-GA |
340 | | - which was compiled for Java 8 by accident. org.javassist:javassist:3.25.0-GA was released for Java 7. |
341 | | - So we exclude it here, and import the version we need below. --> |
342 | | - <groupId>org.javassist</groupId> |
343 | | - <artifactId>javassist</artifactId> |
344 | | - </exclusion> |
| 337 | + <exclusions> |
345 | 338 | <exclusion> |
346 | 339 | <groupId>org.mockito</groupId> |
347 | 340 | <artifactId>mockito-core</artifactId> |
|
350 | 343 | </dependency> |
351 | 344 | <!-- The following imported solely so we can exclude its dependency on: org.objenesis:objenesis, which conflicts with |
352 | 345 | another import by a dependency of powermock-api-mockito2. --> |
353 | | - <dependency> |
354 | | - <!-- This version is compatible with Java 7, the previous version was not (by accident). --> |
355 | | - <!-- Versions 3.26.0-GA and later require Java 8. --> |
356 | | - <groupId>org.javassist</groupId> |
357 | | - <artifactId>javassist</artifactId> |
358 | | - <version>3.28.0-GA</version> |
359 | | - <scope>test</scope> |
360 | | - </dependency> |
361 | 346 | <dependency> |
362 | 347 | <groupId>org.mockito</groupId> |
363 | 348 | <artifactId>mockito-core</artifactId> |
|
373 | 358 | <version>${version.powermock}</version> |
374 | 359 | <scope>test</scope> |
375 | 360 | <exclusions> |
376 | | - <exclusion> |
377 | | - <!-- We exclude this here, because we import the version we need above, and this imports a newer version. --> |
378 | | - <groupId>org.javassist</groupId> |
379 | | - <artifactId>javassist</artifactId> |
380 | | - </exclusion> |
381 | 361 | <exclusion> |
382 | 362 | <groupId>net.bytebuddy</groupId> |
383 | 363 | <artifactId>byte-buddy</artifactId> |
|
0 commit comments