Maven Changes Plugin
  1. Maven Changes Plugin
  2. MCHANGES-262

Using custom issue types mapping (MCHANGES-245) throws a llegalArgumentException

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.7
    • Component/s: announcement
    • Labels:
      None
    • Number of attachments :
      1

      Description

      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)

        Activity

        Hide
        Alan Parkinson added a comment -

        Potential fix

        Show
        Alan Parkinson added a comment - Potential fix
        Hide
        Benson Margulies added a comment -

        ------------------------------------------------------------------------
        r1328931 | bimargulies | 2012-04-22 14:48:15 -0400 (Sun, 22 Apr 2012) | 2 lines

        MCHANGES-262 Using custom issue types mapping (MCHANGES-245) throws a llegalArgumentException

        ------------------------------------------------------------------------

        Show
        Benson Margulies added a comment - ------------------------------------------------------------------------ r1328931 | bimargulies | 2012-04-22 14:48:15 -0400 (Sun, 22 Apr 2012) | 2 lines MCHANGES-262 Using custom issue types mapping ( MCHANGES-245 ) throws a llegalArgumentException ------------------------------------------------------------------------

          People

          • Assignee:
            Benson Margulies
            Reporter:
            Alan Parkinson
          • Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: