Skip to content

Commit

Permalink
Remove decade+ old content
Browse files Browse the repository at this point in the history
3.0.0 was in 2012.
  • Loading branch information
elharo committed Mar 2, 2024
1 parent 65cba8f commit 4efb7b3
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@

Using Plugin Tools Java Annotations

Since version 3.0 of the maven-plugin-plugin, you can use Java5 annotations to generate the
plugin descriptor file.
You can use Java annotations to generate the plugin descriptor file.

<<NOTE>> With annotations, your Mojo super class does not have to be in the same project: provided that the super class also uses annotations, it
<<NOTE>> With annotations, your Mojo super class does not have to be in the same project: provided that the superclass also uses annotations, it
can now come from reactor projects or external dependencies. By default all dependencies are scanned, but this can be reduced with the <<<mojoDependencies>>>
parameter. BUT as javadoc doclets are still useful for goals and parameters description, <<<@since>>> and <<<@deprecated>>>, 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
Expand Down Expand Up @@ -79,8 +78,8 @@ Using Plugin Tools Java Annotations

* POM configuration

To be able to use these Java annotations, you need to add to your plugin POM
<<<maven-plugin-annotations>>> dependency, preferably with <<<provided>>> scope.
To use these Java annotations, add a dependency on
<<<maven-plugin-annotations>>> to your pom, preferably with <<<provided>>> scope.

+-----+
<project>
Expand Down

0 comments on commit 4efb7b3

Please sign in to comment.