Class ByteBuddyMojo.ForLifecycleTypes.ForProductionTypes.WithoutRuntimeDependencies

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

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

      • WithoutRuntimeDependencies

        public WithoutRuntimeDependencies()
    • Method Detail

      • resolveClassPathElements

        protected java.util.List<java.lang.String> resolveClassPathElements​(java.util.Map<ByteBuddyMojo.Coordinate,​java.lang.String> coordinates)
                                                                     throws org.apache.maven.plugin.MojoFailureException
        Description copied from class: ByteBuddyMojo
        Resolves the class path elements of the relevant output directory.
        Specified by:
        resolveClassPathElements in class ByteBuddyMojo
        Parameters:
        coordinates - Versions for managed dependencies.
        Returns:
        The class path elements of the relevant output directory.
        Throws:
        org.apache.maven.plugin.MojoFailureException - If the plugin application raises an error.