org.apache.maven.plugin.dependency
Class AnalyzeMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.dependency.AbstractAnalyzeMojo
org.apache.maven.plugin.dependency.AnalyzeMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
@Mojo(name="analyze",
requiresDependencyResolution=TEST,
threadSafe=true)
@Execute(phase=TEST_COMPILE)
public class AnalyzeMojo
- extends AbstractAnalyzeMojo
Analyzes the dependencies of this project and determines which are: used and declared; used and undeclared; unused
and declared. This goal is intended to be used standalone, thus it always executes the test-compile
phase - use the dependency:analyze-only
goal instead when participating in the build lifecycle.
By default, maven-dependency-analyzer is
used to perform the analysis, with limitations due to the fact that it works at bytecode level, but any
analyzer can be plugged in through analyzer
parameter.
- Since:
- 2.0-alpha-3
- Version:
- $Id: AnalyzeMojo.java 1400739 2012-10-21 23:05:22Z hboutemy $
- Author:
- Mark Hobson
- See Also:
AnalyzeOnlyMojo
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnalyzeMojo
public AnalyzeMojo()
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.