You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2018/06/23 22:22:00 UTC
[jira] [Commented] (MNG-5861) Documentation lacks support of
Enum-types in mojo parameters
[ https://issues.apache.org/jira/browse/MNG-5861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16521287#comment-16521287 ]
Michael Osipov commented on MNG-5861:
-------------------------------------
Enums are supported, see the Enum section here: http://maven.apache.org/guides/plugin/guide-java-plugin-development.html
> Documentation lacks support of Enum-types in mojo parameters
> ------------------------------------------------------------
>
> Key: MNG-5861
> URL: https://issues.apache.org/jira/browse/MNG-5861
> Project: Maven
> Issue Type: Bug
> Components: Documentation: Guides
> Reporter: S L
> Priority: Trivial
> Fix For: waiting-for-feedback
>
> Attachments: enum-maven-plugin.zip
>
>
> Since it appears that Maven support Enum-type parameters in mojos (MNG-4292) I couldn't find anything related to that topic in the documentation (https://maven.apache.org/guides/mini/guide-configuring-plugins.html).
> Maybe it's due to the lack of docu however setting the default-value inside the paramter will also cause a null-pointer exception
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)