Hi,
You can execute Maven test in verbose mode:
mvn test -X
next look for lines like:
[DEBUG] test(compact) classpath: test-classes classes
junit-jupiter-api-5.9.2.jar opentest4j-1.2.0.jar
junit-platform-commons-1.9.2.jar apiguardian-api-1.1.2.jar
commons-lang3-3.12.0.jar
[DEBUG] provide
Are the providers leaking byte-buddy today? I just had to add explicit byte
buddy to my pom-file, for Mockito to work.
- Eric L
On Thu, Mar 9, 2023 at 2:13 PM Slawomir Jaranowski
wrote:
> To avoid leaking external libraries to classpath used under tests.
>
> But we should only use in providers
To avoid leaking external libraries to classpath used under tests.
But we should only use in providers and booter in plugins. We can use what
we need without shading.
To think about what methods are used in providers, maybe we can drop it
anyway and use standard JDK api.
czw., 9 mar 2023 o 13:58
I'm curious. Why do we shade various libraries like commons-lang and
maven-shared utils in surefire?
https://github.com/apache/maven-surefire/blob/master/surefire-shared-utils/pom.xml
--
Elliotte Rusty Harold
elh...@ibiblio.org
---