Class AbstractDependencyJarsMojo<T extends AbstractDependencyHandler>

java.lang.Object
org.apache.maven.plugin.AbstractMojo
net.agilhard.maven.plugins.jpacktool.base.mojo.AbstractToolMojo
net.agilhard.maven.plugins.jpacktool.base.mojo.AbstractDependencyJarsMojo<T>
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
CollectJarsMojo, CollectNonModJarsMojo, JPackToolPrepareMojo

public abstract class AbstractDependencyJarsMojo<T extends AbstractDependencyHandler>
extends AbstractToolMojo
Author:
bei
  • Field Details

    • dependencyGraphBuilder

      @Component(role=org.apache.maven.shared.dependency.graph.DependencyGraphBuilder.class, hint="maven31") public org.apache.maven.shared.dependency.graph.DependencyGraphBuilder dependencyGraphBuilder
    • handler

      protected T extends AbstractDependencyHandler handler
  • Constructor Details

  • Method Details

    • createHandler

      public abstract T createHandler() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException
    • executeToolMain

      public void executeToolMain() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Specified by:
      executeToolMain in class AbstractToolMojo
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException
    • getHandler

      public T getHandler()
    • getDependencyGraphBuilder

      public org.apache.maven.shared.dependency.graph.DependencyGraphBuilder getDependencyGraphBuilder()