Author: buildbot Date: Sat Oct 11 20:28:01 2014 New Revision: 925425 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 Sat Oct 11 20:28:01 2014 @@ -1 +1 @@ -1631105 +1631113 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 Sat Oct 11 20:28:01 2014 @@ -536,9 +536,9 @@ public class GreetingMojo extends Abstra <p>Enumeration type parameters can also be used. First you need to define your enumeration type and afterwards you can use the enumeration type in the parameter definition:</p> <div class="source"> <pre> public enum Color { - green, - red, - blue + GREEN, + RED, + BLUE } /** @@ -549,15 +549,15 @@ public class GreetingMojo extends Abstra <p>You can also use elements from the enumeration type as defaultValues like the following:</p> <div class="source"> <pre> public enum Color { - green, - red, - blue + GREEN, + RED, + BLUE } /** * My Enum */ - @Parameter(defaultValue = "green") + @Parameter(defaultValue = "GREEN") private Color myColor;</pre></div></div> <div class="section"> <h5><a name="Arrays"></a>Arrays</h5> Modified: websites/staging/maven/trunk/content/maven-site-1.0-site.jar ============================================================================== Binary files - no diff available.