Class AbstractJDepsMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.jdeps.AbstractJDepsMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
JDKInternalsMojo, TestJDKInternalsMojo

public abstract class AbstractJDepsMojo extends org.apache.maven.plugin.AbstractMojo
Abstract Mojo for JDeps
Author:
Robert Scholte
  • Constructor Details

    • AbstractJDepsMojo

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

    • getProject

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

      public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException
    • addJDepsOptions

      protected void addJDepsOptions(org.codehaus.plexus.util.cli.Commandline cmd, Set<Path> dependenciesToAnalyze) throws org.apache.maven.plugin.MojoFailureException
      Throws:
      org.apache.maven.plugin.MojoFailureException
    • getDependenciesToAnalyze

      protected Set<Path> getDependenciesToAnalyze(boolean includeClasspath) throws org.apache.maven.artifact.DependencyResolutionRequiredException
      Throws:
      org.apache.maven.artifact.DependencyResolutionRequiredException
    • addJDepsClasses

      protected void addJDepsClasses(org.codehaus.plexus.util.cli.Commandline cmd, Set<Path> dependenciesToAnalyze)
    • isFailOnWarning

      protected boolean isFailOnWarning()
    • getClassesDirectory

      protected abstract String getClassesDirectory()
    • getClassPath

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