Author: buildbot
Date: Fri Oct 10 20:39:47 2014
New Revision: 925304
Log:
Staging update by buildbot for maven
Modified:
websites/staging/maven/trunk/content/ (props changed)
websites/staging/maven/trunk/content/guides/plugin/guide-java-plugin-development.html
websites/staging/maven/trunk/content/maven-site-1.0-site.jar
Propchange: websites/staging/maven/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Oct 10 20:39:47 2014
@@ -1 +1 @@
-1630655
+1630982
Modified:
websites/staging/maven/trunk/content/guides/plugin/guide-java-plugin-development.html
==============================================================================
---
websites/staging/maven/trunk/content/guides/plugin/guide-java-plugin-development.html
(original)
+++
websites/staging/maven/trunk/content/guides/plugin/guide-java-plugin-development.html
Fri Oct 10 20:39:47 2014
@@ -435,7 +435,7 @@ public class GreetingMojo extends Abstra
*/
@Parameter( property = "sayhi.greeting", defaultValue =
"Hello World!" )
private String greeting;</pre></div>
-<p>The portion before the annotations is the description of the parameter. The
<tt>parameter</tt> annotation identifies the variable as a mojo parameter. The
<tt>defaultValue</tt> parameter of the annotation defines the default value for
the variable. This value can include expressions which reference the project,
such as "<tt>${project.version}</tt>" (more can be found in the
"Parameter Expressions" document). The <tt>property</tt> parameter
can be used to allow configuration of the mojo parameter from the command line
by referencing a system property that the user sets via the <tt>-D</tt>
option.</p></div>
+<p>The portion before the annotations is the description of the parameter. The
<tt>parameter</tt> annotation identifies the variable as a mojo parameter. The
<tt>defaultValue</tt> parameter of the annotation defines the default value for
the variable. This value can include expressions which reference the project,
such as "<tt>${project.version}</tt>" (more can be found in the <a
class="externalLink"
href="http://maven.apache.org/ref/current/maven-core/apidocs/org/apache/maven/plugin/PluginParameterExpressionEvaluator.html">"Parameter
Expressions" document</a>). The <tt>property</tt> parameter can be used
to allow configuration of the mojo parameter from the command line by
referencing a system property that the user sets via the <tt>-D</tt>
option.</p></div>
<div class="section">
<h4><a name="Configuring_Parameters_in_a_Project"></a>Configuring Parameters
in a Project</h4>
<p>Configuring the parameter values for a plugin is done in a Maven 2 project
within the <tt>pom.xml</tt> file as part of defining the plugin in the project.
An example of configuring a plugin:</p>
Modified: websites/staging/maven/trunk/content/maven-site-1.0-site.jar
==============================================================================
Binary files - no diff available.