Index: src/site/apt/guides/plugin/guide-java-plugin-development.apt =================================================================== --- src/site/apt/guides/plugin/guide-java-plugin-development.apt (revision 397476) +++ src/site/apt/guides/plugin/guide-java-plugin-development.apt (working copy) @@ -184,8 +184,22 @@ ~~ ~~ You also need to add your plugin's group ID to the list of group IDs - In order to shorten the amount of typing needed on the command line, - you will need to add your plugin's group ID to the list of group IDs + + There are several ways to reduce the amount of required typing: + + * if you need to run the latest version of a plugin installed in your local + repository, you can ommit its version number. So just use + "<<>>" to run your plugin. + + * the "<<>>" and "<<<$name-maven-plugin>>>" artifactIds + patterns are treated in a special way. If no plugin matches the artifactId + specified on the command line, maven will try expanding the artifactId to these + patterns in that order. So in the case of our example, you can use + "<<>>" to run your plugin. Note: these 2 + patterns are respectively used by the official Maven2 plugins and the Mojo + project plugins. + + * finally, you can also add your plugin's group ID to the list of group IDs searched by default. To do this, you need to add the following to your <<<$\{user.home\}/.m2/settings.xml>>> file: