Class ByteBuddyMojo.ForProductionTypes.WithoutRuntimeDependencies

java.lang.Object
org.apache.maven.plugin.AbstractMojo
net.bytebuddy.build.maven.ByteBuddyMojo
net.bytebuddy.build.maven.ByteBuddyMojo.ForProductionTypes
net.bytebuddy.build.maven.ByteBuddyMojo.ForProductionTypes.WithoutRuntimeDependencies
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Enclosing class:
ByteBuddyMojo.ForProductionTypes

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

    • WithoutRuntimeDependencies

      public WithoutRuntimeDependencies()
  • Method Details

    • getClassPathElements

      protected List<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.