Class BaseJDeprScanMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.jdeprscan.AbstractJDeprScanMojo
org.apache.maven.plugins.jdeprscan.BaseJDeprScanMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
JDeprScanMojo, TestJDeprScanMojo

public abstract class BaseJDeprScanMojo extends AbstractJDeprScanMojo
Base class for all explicit jdeprscan mojos
Since:
3.0.0
Author:
Robert Scholte
  • Field Summary

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    BaseJDeprScanMojo(org.apache.maven.toolchain.ToolchainManager toolchainManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final void
    addJDeprScanOptions(org.codehaus.plexus.util.cli.Commandline cmd)
     
    void
     
    protected abstract Path
     
    protected abstract Collection<Path>
     
    protected org.codehaus.plexus.util.cli.CommandLineUtils.StringStreamConsumer
     
    protected org.apache.maven.project.MavenProject
     
    protected boolean
     
    protected void
     

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BaseJDeprScanMojo

      protected BaseJDeprScanMojo(org.apache.maven.toolchain.ToolchainManager toolchainManager)
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Specified by:
      execute in interface org.apache.maven.plugin.Mojo
      Overrides:
      execute in class AbstractJDeprScanMojo
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException
    • getProject

      protected org.apache.maven.project.MavenProject getProject()
    • isForRemoval

      protected boolean isForRemoval()
      Specified by:
      isForRemoval in class AbstractJDeprScanMojo
    • getConsumer

      protected org.codehaus.plexus.util.cli.CommandLineUtils.StringStreamConsumer getConsumer()
      Overrides:
      getConsumer in class AbstractJDeprScanMojo
    • addJDeprScanOptions

      protected final void addJDeprScanOptions(org.codehaus.plexus.util.cli.Commandline cmd) throws org.apache.maven.plugin.MojoFailureException
      Overrides:
      addJDeprScanOptions in class AbstractJDeprScanMojo
      Throws:
      org.apache.maven.plugin.MojoFailureException
    • verify

      protected void verify() throws org.apache.maven.plugin.MojoExecutionException
      Overrides:
      verify in class AbstractJDeprScanMojo
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • getClassesDirectory

      protected abstract Path getClassesDirectory()
    • getClassPath

      protected abstract Collection<Path> getClassPath() throws org.apache.maven.artifact.DependencyResolutionRequiredException
      Throws:
      org.apache.maven.artifact.DependencyResolutionRequiredException