[ 
https://issues.apache.org/jira/browse/MNG-5861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14632860#comment-14632860
 ] 

S L commented on MNG-5861:
--------------------------

Can run the attached project with:
mvn clean install && mvn clean package -Pdemo with results in:
[ERROR] Failed to execute goal 
sample.plugin:hello-maven-plugin:1.0-SNAPSHOT:sayhi (default) on project 
hello-maven-plugin: Execution default of goal 
sample.plugin:hello-maven-plugin:1.0-SNAPSHOT:sayhi failed. 
NullPointerException -> [Help 1]

> 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
>         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
(v6.3.4#6332)

Reply via email to