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.
See Also:
,
  • 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
    void execute()  

    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

    • 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.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException