Annotation Type ModifiedClasspath
-
@Retention(RUNTIME) @Target(METHOD) @Documented @ExtendWith(ModifiedClasspathExtension.class) public @interface ModifiedClasspath
Modify the current classpath before running the marked test.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String[]excludeGavsWill remove Jars matching the given GAV (groupId:artifactId:version).String[]excludeJarsWill remove Jars matching the given GAV (groupId:artifactId:version).
-
-
-
Element Detail
-
excludeGavs
String[] excludeGavs
Will remove Jars matching the given GAV (groupId:artifactId:version).
Gav can have the following structures:
- artifactId : aka JAR name
- groupId:artifactId
- groupId:artifactId:version
If the matching Jars are in a Maven repository, their dependencies (transitive or not) will also be excluded.
- Default:
- {}
-
-
-
excludeJars
String[] excludeJars
Will remove Jars matching the given GAV (groupId:artifactId:version).
Gav can have the following structures:
- artifactId: aka JAR name
- groupId:artifactId
- groupId:artifactId:version
In opposition to
excludeGavs(), their will be no attempt to list and exclude dependencies.- Default:
- {}
-
-