diff --git a/maven-plugin-plugin/src/site/apt/examples/using-annotations.apt.vm b/maven-plugin-plugin/src/site/apt/examples/using-annotations.apt.vm index 4766b66..45fabc1 100644 --- a/maven-plugin-plugin/src/site/apt/examples/using-annotations.apt.vm +++ b/maven-plugin-plugin/src/site/apt/examples/using-annotations.apt.vm @@ -122,5 +122,5 @@ Using Plugin Tools Java5 Annotations *-------------------------------+---------------+ | <<<@goal "goal-name">>> | <<<@Mojo( name = "goal-name" )>>> *-------------------------------+---------------+ -| <<<@phase "\">>> | <<<@Mojo( defaultPhase = "\" )>>> +| <<<@phase "\">>> | <<<@Mojo( defaultPhase = LifecyclePhase.\ )>>> *-------------------------------+---------------+ diff --git a/maven-plugin-tools-annotations/src/site/apt/index.apt b/maven-plugin-tools-annotations/src/site/apt/index.apt index 1978f0d..2d79c62 100644 --- a/maven-plugin-tools-annotations/src/site/apt/index.apt +++ b/maven-plugin-tools-annotations/src/site/apt/index.apt @@ -39,13 +39,13 @@ import org.apache.maven.execution.MavenSession; import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecution; import org.apache.maven.plugin.descriptor.PluginDescriptor; -import org.apache.maven.plugins.annotations.ResolutionScope; import org.apache.maven.plugins.annotations.Component; import org.apache.maven.plugins.annotations.Execute; import org.apache.maven.plugins.annotations.InstantiationStrategy; import org.apache.maven.plugins.annotations.LifecyclePhase; import org.apache.maven.plugins.annotations.Mojo; import org.apache.maven.plugins.annotations.Parameter; +import org.apache.maven.plugins.annotations.ResolutionScope; import org.apache.maven.project.MavenProject; import org.apache.maven.settings.Settings; @@ -60,7 +60,7 @@ import org.apache.maven.settings.Settings; executionStrategy = "", inheritByDefault = , instantiationStrategy = InstantiationStrategy., - defaultPhase = "", + defaultPhase = LifecyclePhase., requiresDependencyResolution = ResolutionScope., requiresDependencyCollection = ResolutionScope., // (since Maven 3.0) requiresDirectInvocation = , @@ -69,7 +69,7 @@ import org.apache.maven.settings.Settings; requiresReports = , // (unsupported since Maven 3.0) threadSafe = ) // (since Maven 3.0) @Execute( goal = "", - phase = LifecyclePhase. + phase = LifecyclePhase., lifecycle = "" ) public class MyMojo extends AbstractMojo