Annotation Interface ClassPathOverrides


@Retention(RUNTIME) @Target(TYPE) @ExtendWith(ModifiedClassPathExtension.class) public @interface ClassPathOverrides
Annotation used in combination with ModifiedClassPathExtension to override entries on the classpath.
Author:
Andy Wilkinson
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    One or more sets of Maven coordinates (groupId:artifactId:version) to be added to the classpath.
  • Element Details

    • value

      String[] value
      One or more sets of Maven coordinates (groupId:artifactId:version) to be added to the classpath. The additions will take precedence over any existing classes on the classpath.
      Returns:
      the coordinates