public abstract class AbstractJDepsMojo extends AbstractMojo
Constructor and Description |
---|
AbstractJDepsMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
addJDepsClasses(Commandline cmd,
Set<Path> dependenciesToAnalyze) |
protected void |
addJDepsOptions(Commandline cmd,
Set<Path> dependenciesToAnalyze) |
void |
execute() |
protected abstract String |
getClassesDirectory() |
protected abstract Collection<Path> |
getClassPath() |
protected Set<Path> |
getDependenciesToAnalyze() |
protected MavenProject |
getProject() |
protected boolean |
isFailOnWarning() |
getLog, getPluginContext, setLog, setPluginContext
protected MavenProject getProject()
public void execute() throws MojoExecutionException, MojoFailureException
protected void addJDepsOptions(Commandline cmd, Set<Path> dependenciesToAnalyze) throws MojoFailureException
MojoFailureException
protected void addJDepsClasses(Commandline cmd, Set<Path> dependenciesToAnalyze)
protected boolean isFailOnWarning()
protected abstract String getClassesDirectory()
protected abstract Collection<Path> getClassPath() throws DependencyResolutionRequiredException
Copyright © 2015–2019 The Apache Software Foundation. All rights reserved.