Package org.apache.maven.plugins.javadoc
Class TestFixJavadocMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.javadoc.AbstractFixJavadocMojo
org.apache.maven.plugins.javadoc.TestFixJavadocMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="test-fix",
requiresDependencyResolution=TEST,
threadSafe=true)
@Execute(phase=TEST_COMPILE)
public class TestFixJavadocMojo
extends AbstractFixJavadocMojo
Fix Javadoc documentation and tags for the
Test Java code
for the project.- Since:
- 2.6
- Author:
- Vincent Siveton
- See Also:
-
Field Summary
Fields inherited from class org.apache.maven.plugins.javadoc.AbstractFixJavadocMojo
ignoreClirr, JAVA_FILES
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
ConstructorDescriptionTestFixJavadocMojo
(org.codehaus.plexus.components.interactivity.InputHandler inputHandler) -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
protected String
getArtifactType
(org.apache.maven.project.MavenProject p) getCompileClasspathElements
(org.apache.maven.project.MavenProject p) getProjectSourceRoots
(org.apache.maven.project.MavenProject p) Methods inherited from class org.apache.maven.plugins.javadoc.AbstractFixJavadocMojo
getJavaMethodAsString, getProject
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
TestFixJavadocMojo
@Inject public TestFixJavadocMojo(org.codehaus.plexus.components.interactivity.InputHandler inputHandler)
-
-
Method Details
-
getProjectSourceRoots
- Overrides:
getProjectSourceRoots
in classAbstractFixJavadocMojo
- Parameters:
p
- not null maven project.- Returns:
- the list of source paths for the given project.
-
getCompileClasspathElements
protected List<String> getCompileClasspathElements(org.apache.maven.project.MavenProject p) throws org.apache.maven.artifact.DependencyResolutionRequiredException - Overrides:
getCompileClasspathElements
in classAbstractFixJavadocMojo
- Parameters:
p
- not null- Returns:
- the compile classpath elements
- Throws:
org.apache.maven.artifact.DependencyResolutionRequiredException
- if any
-
getArtifactType
- Overrides:
getArtifactType
in classAbstractFixJavadocMojo
- Parameters:
p
- not null maven project.- Returns:
- the artifact type.
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Specified by:
execute
in interfaceorg.apache.maven.plugin.Mojo
- Overrides:
execute
in classAbstractFixJavadocMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-