Class ByteBuddyMojo.ForExplicitLocations.ForTestTypes

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
    Enclosing class:
    ByteBuddyMojo.ForExplicitLocations

    @Mojo(name="transform-location-test",
          defaultPhase=PROCESS_TEST_CLASSES,
          threadSafe=true,
          requiresDependencyResolution=TEST)
    public static class ByteBuddyMojo.ForExplicitLocations.ForTestTypes
    extends ByteBuddyMojo.ForExplicitLocations
    Transforms specified classes from files in a folder or a jar file to a folder or jar file. Additionally, all class path dependencies will be made visible during plugin application, including any non-test and test dependencies.
    • Constructor Detail

      • ForTestTypes

        public ForTestTypes()
    • Method Detail

      • resolveImplicitClassPathElements

        protected java.util.List<java.lang.String> resolveImplicitClassPathElements()
                                                                             throws org.apache.maven.plugin.MojoFailureException
        Description copied from class: ByteBuddyMojo.ForExplicitLocations
        Resolves any implicit dependencies that should be added to the class path.
        Overrides:
        resolveImplicitClassPathElements in class ByteBuddyMojo.ForExplicitLocations
        Returns:
        The class path elements of the relevant output directory.
        Throws:
        org.apache.maven.plugin.MojoFailureException - If the class loader resolution yields a failure.