Package se.kth.depclean
Class DepCleanMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
se.kth.depclean.DepCleanMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="depclean",
defaultPhase=PACKAGE,
requiresDependencyCollection=TEST,
requiresDependencyResolution=TEST,
threadSafe=true)
public class DepCleanMojo
extends org.apache.maven.plugin.AbstractMojo
This Maven mojo is the main class of DepClean.
DepClean is built on top of the maven-dependency-analyzer component.
It produces a clean copy of the project's pom file, without bloated dependencies.
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors Constructor Description DepCleanMojo() -
Method Summary
Modifier and Type Method Description voidexecute()Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
DepCleanMojo
public DepCleanMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-