Class ByteBuddyMojo.ForExplicitLocations.WithoutRuntimeDependencies

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

    @Mojo(name="transform-location",
          defaultPhase=PROCESS_CLASSES,
          threadSafe=true,
          requiresDependencyResolution=COMPILE)
    public static class ByteBuddyMojo.ForExplicitLocations.WithoutRuntimeDependencies
    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.
    • Constructor Detail

      • WithoutRuntimeDependencies

        public WithoutRuntimeDependencies()
    • 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.