Author: rfscholte Date: Thu Aug 11 18:07:18 2016 New Revision: 1756022 URL: http://svn.apache.org/viewvc?rev=1756022&view=rev Log: [MPLUGIN-305] MojoAnnotationsScanner should have better control over dependency scanning Improve documentation
Modified: maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/examples/using-annotations.apt.vm Modified: maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/examples/using-annotations.apt.vm URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/examples/using-annotations.apt.vm?rev=1756022&r1=1756021&r2=1756022&view=diff ============================================================================== --- maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/examples/using-annotations.apt.vm (original) +++ maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/examples/using-annotations.apt.vm Thu Aug 11 18:07:18 2016 @@ -32,9 +32,10 @@ Using Plugin Tools Java5 Annotations plugin descriptor file. <<NOTE>> With annotations, your Mojo super class does not any more require to be in the same project. Provided that the super class also uses annotations, it - can now come from reactor projects or external dependencies. As javadoc doclet are still useful for <<<@since>>>, <<<@deprecated>>> and comments, - the sources are still scanned. So if you use an external dependency, you must still provide an artifact with sources (<<<sources>>> classifier) to - provide documentation (the tooling will skip error if this artifact sources is missing). + can now come from reactor projects or external dependencies. By default all dependencies are scanned, but this can be reduced with the <<<mojoDependencies>>> + parameter. As javadoc doclet are still useful for <<<@since>>>, <<<@deprecated>>> and comments, the sources are still scanned. So if you use an external + dependency, you must still provide an artifact with sources (<<<sources>>> classifier) to provide documentation (the tooling will skip error if this artifact + sources is missing). * Annotations