Class ByteBuddyMojo.ForProductionTypes.WithRuntimeDependencies

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

    @Mojo(name="transform-runtime",
          defaultPhase=PROCESS_CLASSES,
          threadSafe=true,
          requiresDependencyResolution=COMPILE_PLUS_RUNTIME)
    public static class ByteBuddyMojo.ForProductionTypes.WithRuntimeDependencies
    extends ByteBuddyMojo.ForProductionTypes
    A Byte Buddy plugin that transforms a project's production class files where runtime class path elements are included.
    • Constructor Detail

      • WithRuntimeDependencies

        public WithRuntimeDependencies()
    • Method Detail

      • getClassPathElements

        protected java.util.List<java.lang.String> getClassPathElements()
                                                                 throws org.apache.maven.plugin.MojoFailureException
        Description copied from class: ByteBuddyMojo
        Returns the class path elements of the relevant output directory.
        Specified by:
        getClassPathElements in class ByteBuddyMojo
        Returns:
        The class path elements of the relevant output directory.
        Throws:
        org.apache.maven.plugin.MojoFailureException - If the class path cannot be resolved.