You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alan Parkinson (JIRA)" <ji...@codehaus.org> on 2011/06/26 09:53:42 UTC

[jira] Updated: (MCHANGES-262) Using custom issue types mapping (MCHANGES-245) throws a llegalArgumentException

     [ https://jira.codehaus.org/browse/MCHANGES-262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Parkinson updated MCHANGES-262:
------------------------------------

    Attachment: MCHANGES-262-maven-changes-plugin.patch

Potential fix 

> Using custom issue types mapping (MCHANGES-245) throws a llegalArgumentException
> --------------------------------------------------------------------------------
>
>                 Key: MCHANGES-262
>                 URL: https://jira.codehaus.org/browse/MCHANGES-262
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Bug
>          Components: announcement
>    Affects Versions: 2.6
>            Reporter: Alan Parkinson
>            Priority: Critical
>         Attachments: MCHANGES-262-maven-changes-plugin.patch
>
>
> When using the following plugin configuration a IllegalArgumentException is thrown during a execution
> <configuration>
>   ...
>   <issueTypes>
>     <add>Story</add>
>   </issueTypes>
>   ...
> </configuration>
> java.lang.IllegalArgumentException: No enum const class org.apache.maven.plugin.changes.IssueType.STORY
> 	at java.lang.Enum.valueOf(Enum.java:196)
> 	at org.apache.maven.plugin.changes.IssueType.valueOf(IssueType.java:25)
> 	at org.apache.maven.plugin.changes.IssueType.lookupByKey(IssueType.java:48)
> 	at org.apache.maven.plugin.issues.AbstractIssueManagementSystem.applyConfiguration(AbstractIssueManagementSystem.java:69)
> 	

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira