You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2012/05/13 21:21:50 UTC
svn commit: r1337970 - in /maven/plugin-tools/trunk:
maven-plugin-plugin/src/site/ maven-plugin-plugin/src/site/apt/
maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/
src/site/apt/
Author: hboutemy
Date: Sun May 13 19:21:49 2012
New Revision: 1337970
URL: http://svn.apache.org/viewvc?rev=1337970&view=rev
Log:
added links to Plugin Descriptor reference documentation
Modified:
maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/index.apt
maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/usage.apt
maven/plugin-tools/trunk/maven-plugin-plugin/src/site/site.xml
maven/plugin-tools/trunk/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginDescriptorGenerator.java
maven/plugin-tools/trunk/src/site/apt/index.apt
Modified: maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/index.apt?rev=1337970&r1=1337969&r2=1337970&view=diff
==============================================================================
--- maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/index.apt (original)
+++ maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/index.apt Sun May 13 19:21:49 2012
@@ -28,7 +28,7 @@
Maven Plugin Plugin
- The Maven Plugin Plugin is used to create a Maven plugin descriptor for any
+ The Maven Plugin Plugin is used to create a {{{/ref/current/maven-plugin-api/plugin.html}Maven plugin descriptor}} for any
{{{/general.html#What_is_a_Mojo}Mojo}}'s found in the source tree, to include in the JAR.
It is also used to generate report files for the Mojos as well as for updating the plugin registry, the artifact
metadata and generating a generic help goal.
Modified: maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/usage.apt
URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/usage.apt?rev=1337970&r1=1337969&r2=1337970&view=diff
==============================================================================
--- maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/usage.apt (original)
+++ maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/usage.apt Sun May 13 19:21:49 2012
@@ -36,7 +36,8 @@ Usage
* The <<<plugin:descriptor>>> Goal
The <<<plugin:descriptor>>> goal is bound to the <<<process-classes>>> phase since 3.0; it was bound to <<<generate-resources>>> phase previously.
- This goal generates the plugin descriptor, which is an xml file that contains information about the plugin.
+ This goal generates the plugin descriptor, which is an xml file that contains information about the plugin
+ (see {{{/ref/current/maven-plugin-api/plugin.html}descriptor's reference}}).
For example, you want to create an archive of your plugin and you execute
Modified: maven/plugin-tools/trunk/maven-plugin-plugin/src/site/site.xml
URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/site/site.xml?rev=1337970&r1=1337969&r2=1337970&view=diff
==============================================================================
--- maven/plugin-tools/trunk/maven-plugin-plugin/src/site/site.xml (original)
+++ maven/plugin-tools/trunk/maven-plugin-plugin/src/site/site.xml Sun May 13 19:21:49 2012
@@ -39,6 +39,7 @@ under the License.
<menu name="Developers">
<item name="Maven Plugin Tools" href="/plugin-tools/index.html"/>
+ <item name="Maven Plugin Descriptor" href="/ref/current/maven-plugin-api/plugin.html"/>
<item name="Multiple Language Support: Redesign Notes" href="multiple-language-support.html"/>
</menu>
</body>
Modified: maven/plugin-tools/trunk/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginDescriptorGenerator.java
URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginDescriptorGenerator.java?rev=1337970&r1=1337969&r2=1337970&view=diff
==============================================================================
--- maven/plugin-tools/trunk/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginDescriptorGenerator.java (original)
+++ maven/plugin-tools/trunk/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginDescriptorGenerator.java Sun May 13 19:21:49 2012
@@ -51,6 +51,8 @@ import java.util.Properties;
import java.util.Set;
/**
+ * Generate a <a href="/ref/current/maven-plugin-api/plugin.html">Maven Plugin Descriptor XML file</a>.
+ *
* @version $Id$
* @todo add example usage tag that can be shown in the doco
* @todo need to add validation directives so that systems embedding maven2 can
Modified: maven/plugin-tools/trunk/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/src/site/apt/index.apt?rev=1337970&r1=1337969&r2=1337970&view=diff
==============================================================================
--- maven/plugin-tools/trunk/src/site/apt/index.apt (original)
+++ maven/plugin-tools/trunk/src/site/apt/index.apt Sun May 13 19:21:49 2012
@@ -39,7 +39,7 @@ Maven Plugin Tools
*-----------------------------------------------------------------------------+---------------------------------------------------------+
| {{{./maven-plugin-tools-api/index.html}maven-plugin-tools-api}} | Descriptor extractor API, used by maven-plugin-plugin to extract Plugin information.
*-----------------------------------------------------------------------------+---------------------------------------------------------+
-| {{{./maven-plugin-tools-generators/index.html}maven-plugin-tools-generators}} | Generators (help, documentation), used by maven-plugin-plugin to generate content from descriptor.
+| {{{./maven-plugin-tools-generators/index.html}maven-plugin-tools-generators}} | Generators (descriptor, help, documentation), used by maven-plugin-plugin to generate content from descriptor.
*-----------------------------------------------------------------------------+---------------------------------------------------------+
| \ \ {{{./maven-plugin-tools-java/index.html}maven-plugin-tools-java}} | Descriptor extractor for plugins written in Java annotated with Mojo Javadoc Tags.
*-----------------------------------------------------------------------------+---------------------------------------------------------+