- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.apache.maven.reporting.MavenMultiPageReport, org.apache.maven.reporting.MavenReport
@Mojo(name="generate",
defaultPhase=PREPARE_PACKAGE,
requiresProject=true,
requiresDirectInvocation=false,
executionStrategy="once-per-session",
requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
requiresDependencyCollection=COMPILE_PLUS_RUNTIME)
public class ServiceDocGenReport
extends org.apache.maven.reporting.AbstractMavenReport
Maven Plugin
to automatically generate documentation for services of the current project.
- Scans the current projects source code for (JAX-RS annotated) services that match the RegEx configured by
classnameRegex
.
- Analyzes the services from source-code (extract JavaDoc, etc.) and byte-code (resolve generic parameters, etc.)
and create intermediate meta-data as
ServicesDescriptor
.
- Generates documentation from the collected meta-data (by default as HTML from a velocity template shipped with
this plugin but can be overridden via configuration parameters).
scan and analyze services from the current project via source-code and byte-code analysis. Creates
- Author:
- hohwille