You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-commits@maven.apache.org by bu...@apache.org on 2014/10/11 22:28:01 UTC

svn commit: r925425 - in /websites/staging/maven/trunk/content: ./ guides/plugin/guide-java-plugin-development.html maven-site-1.0-site.jar

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 = &quot;green&quot;)
+    @Parameter(defaultValue = &quot;GREEN&quot;)
     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.