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
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.7
    • Component/s: announcement
    • Labels:
      None

      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

        Alan Parkinson created issue -
        Hide
        Alan Parkinson added a comment -

        Potential fix

        Show
        Alan Parkinson added a comment - Potential fix
        Alan Parkinson made changes -
        Field Original Value New Value
        Attachment MCHANGES-262-maven-changes-plugin.patch [ 55725 ]
        Benson Margulies made changes -
        Assignee Benson Margulies [ bmargulies ]
        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 ------------------------------------------------------------------------
        Benson Margulies made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 2.7 [ 17447 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 09:14:45 UTC 2015 [ 1428225285377 ]
        Mark Thomas made changes -
        Workflow jira [ 12718096 ] Default workflow, editable Closed status [ 12749434 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 22:40:15 UTC 2015 [ 1428273615853 ]
        Mark Thomas made changes -
        Workflow jira [ 12955518 ] Default workflow, editable Closed status [ 12992562 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        301d 11h 26m 1 Benson Margulies 22/Apr/12 13:48

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development