Class 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:
    ,
    • Constructor Detail

      • DepCleanMojo

        public DepCleanMojo()
    • Method Detail

      • 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