Am 2014-10-11 um 21:51 schrieb Robert Scholte:
[...]maven/site/trunk/content/apt/guides/plugin/guide-java-plugin-development.apt (original) +++ maven/site/trunk/content/apt/guides/plugin/guide-java-plugin-development.apt Sat Oct 11 18:31:32 2014 @@ -508,6 +508,44 @@ mvn archetype:generate \ Once the type for the element is defined, the text in the XML file is converted to the appropriate type of object +*** Enums + + 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: + ++-----+ + public enum Color { + green, + rot, + blue + }
In the spirit of convention, Java enum values are always uppercase. Willing to change?
Michael --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
