git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1346179 13f79535-47bb-0310-9956-ffa450edef68
master
Herve Boutemy 2012-06-04 22:13:33 +00:00
parent 030713aa69
commit 3e256f7e17
1 changed files with 5 additions and 6 deletions

View File

@ -1,5 +1,5 @@
------ ------
Using Java5 annotations Using Plugin Tools Java5 Annotations
------ ------
Olivier Lamy Olivier Lamy
------ ------
@ -26,13 +26,13 @@
~~ NOTE: For help with the syntax of this file, see: ~~ NOTE: For help with the syntax of this file, see:
~~ http://maven.apache.org/doxia/references/apt-format.html ~~ http://maven.apache.org/doxia/references/apt-format.html
Using Java5 annotations Using Plugin Tools Java5 Annotations
Since version 3.0, you can use {{{#Annotations}Java5 annotations}} to generate the plugin descriptor file. Since version 3.0, you can use {{{#Annotations}Java5 annotations}} to generate the plugin descriptor file.
<<NOTE>> With annotations, it's not anymore mandatory to have your Mojos super classes in the same project. Super classe <<NOTE>> With annotations, it's not any more mandatory to have your Mojos super classes in the same project. Super classes
can now come from reactor projects or external dependencies. As javadoc doclet are still reading (for @since, @deprecated and comments), 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 (classifier sources) to 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). provide documentation (the tooling will skip error if this artifact sources is missing).
* Pom configuration * Pom configuration
@ -46,7 +46,6 @@ Using Java5 annotations
<groupId>org.apache.maven.plugin-tools</groupId> <groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId> <artifactId>maven-plugin-annotations</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
<scope>compile</scope>
</dependency> </dependency>
<!-- generated help mojo has a dependency to plexus-utils --> <!-- generated help mojo has a dependency to plexus-utils -->
<dependency> <dependency>