o assumed Maven 2

o updated examples

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@630831 13f79535-47bb-0310-9956-ffa450edef68
master
Vincent Siveton 2008-02-25 12:36:15 +00:00
parent 73eadb39bb
commit c1d3815395
1 changed files with 14 additions and 9 deletions

View File

@ -23,11 +23,12 @@
~~ specific language governing permissions and limitations ~~ specific language governing permissions and limitations
~~ under the License. ~~ under the License.
Maven 2 Plugin Plugin Maven Plugin Plugin
The Plugin Plugin is used to create a Maven plugin descriptor for any Mojo's found in the source tree, to include in the JAR. The Maven Plugin Plugin is used to create a Maven plugin descriptor for any
It is also used to generate Xdoc files for the Mojos as well as for updating the plugin registry, the artifact metadata and {{{http://maven.apache.org/general.html#What_is_a_Mojo}Mojo}}'s found in the source tree, to include in the JAR.
a generic help goal. It is also used to generate report files for the Mojos as well as for updating the plugin registry, the artifact
metadata and a generic help goal.
* Goals Overview * Goals Overview
@ -37,17 +38,19 @@ Maven 2 Plugin Plugin
* {{{report-mojo.html}plugin:report}} generates the plugin documentation report. * {{{report-mojo.html}plugin:report}} generates the plugin documentation report.
* {{{updateRegistry-mojo.html}plugin:updateRegistry}} updates the user plugin registry (if it's in use) to reflect the * {{{updateRegistry-mojo.html}plugin:updateRegistry}} updates the user plugin registry (if it's in use) to
version being installed. reflect the version being installed.
* {{{xdoc-mojo.html}plugin:xdoc}} generates Xdoc files for the project mojos or goals. * {{{xdoc-mojo.html}plugin:xdoc}} generates Xdoc files for the project mojos or goals.
* {{{addPluginArtifactMetadata-mojo.html}plugin:addPluginArtifactMetadata}} injects any plugin-specific artifact metadata to the project's * {{{addPluginArtifactMetadata-mojo.html}plugin:addPluginArtifactMetadata}} injects any plugin-specific artifact
artifact, for subsequent installation and deployment. The first use-case for this is to add the LATEST metadata metadata to the project's artifact, for subsequent installation and deployment. The first use-case for this
(which is plugin-specific) for shipping alongside the plugin's artifact. is to add the LATEST metadata (which is plugin-specific) for shipping alongside the plugin's artifact.
* {{{helpmojo-mojo.html}helpmojo}} generates an help mojo with describes all project mojos. * {{{helpmojo-mojo.html}helpmojo}} generates an help mojo with describes all project mojos.
[]
* Usage * Usage
Instructions on how to use the Plugin Plugin can be found {{{usage.html}here}}. Instructions on how to use the Plugin Plugin can be found {{{usage.html}here}}.
@ -58,6 +61,8 @@ Maven 2 Plugin Plugin
* {{{examples/generate-descriptor.html}Configuring Generation of Plugin Descriptor}} * {{{examples/generate-descriptor.html}Configuring Generation of Plugin Descriptor}}
* {{{examples/generate-report.html}Configuring Generation of Documentation Reports}}
* {{{examples/generate-help.html}Configuring Generation of Help Mojo}} * {{{examples/generate-help.html}Configuring Generation of Help Mojo}}
[] []