From 3bb1fbf1540ffd9f8c18124e28f8bbf5e7d44eae Mon Sep 17 00:00:00 2001 From: Herve Boutemy Date: Mon, 2 Jun 2014 17:17:46 +0000 Subject: [PATCH] [MPLUGIN-267] document how to change desriptor phase instead of running it twice with skipErrorNoDescriptorsFound git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1599273 13f79535-47bb-0310-9956-ffa450edef68 --- .../site/apt/examples/using-annotations.apt.vm | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) 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 6d88b17..64656a0 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 @@ -77,10 +77,7 @@ Using Plugin Tools Java5 Annotations * add <<>> dependency, preferably with <<>> scope, - * bind goals to <<>> phase, - - * configure <<>> parameter to avoid failure caused by - {{{http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_maven-plugin_packaging}default <<>> goal binding to <<>> phase}}. + * override Maven core's <<>> execution phase to <<>>, [] @@ -105,16 +102,10 @@ Using Plugin Tools Java5 Annotations org.apache.maven.plugins maven-plugin-plugin ${project.version} - - - true - - mojo-descriptor - - descriptor - + default-descriptor + process-classes