Class ByteBuddyMojo.Transformer

    • Constructor Detail

      • Transformer

        protected Transformer()
    • Method Detail

      • getPlugin

        protected abstract java.lang.String getPlugin()
                                               throws org.apache.maven.plugin.MojoExecutionException
        Returns the name of the plugin to apply.
        Returns:
        The name of the plugin to apply.
        Throws:
        org.apache.maven.plugin.MojoExecutionException - If the plugin name was not set.
      • toClassLoader

        protected abstract java.lang.ClassLoader toClassLoader​(ClassLoaderResolver classLoaderResolver,
                                                               java.lang.String groupId,
                                                               java.lang.String artifactId,
                                                               java.lang.String version,
                                                               java.lang.String packaging)
                                                        throws org.apache.maven.plugin.MojoFailureException,
                                                               org.apache.maven.plugin.MojoExecutionException
        Resolves the class loader to use for resolving the plugin.
        Parameters:
        classLoaderResolver - The class loader resolver to use.
        groupId - The group id of this project.
        artifactId - The artifact id of this project.
        version - The version of this project.
        packaging - The packaging of this project.
        Returns:
        The class loader to use.
        Throws:
        org.apache.maven.plugin.MojoFailureException - If the class loader resolution yields a failure.
        org.apache.maven.plugin.MojoExecutionException - The the class loader resolution is incorrect.