added explanations before magic snippet

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1590404 13f79535-47bb-0310-9956-ffa450edef68
master
Herve Boutemy 2014-04-27 15:26:43 +00:00
parent f8a946df81
commit 58f5506c59
1 changed files with 9 additions and 0 deletions

View File

@ -75,6 +75,15 @@ Using Plugin Tools Java5 Annotations
To be able to use these Java 5 annotations, you need to add some configuration to your plugin POM:
* add <<<maven-plugin-annotations>>> dependency, preferably with <<<provided>>> scope,
* bind goals to <<<process-classes>>> phase,
* configure <<<skipErrorNoDescriptorsFound>>> parameter to avoid failure caused by
{{{http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_maven-plugin_packaging}default <<<descriptor>>> goal binding to <<<generate-resources>>> phase}}.
[]
+-----+
<project>
...