Uploaded image for project: 'Maven Changes Plugin'
  1. Maven Changes Plugin
  2. MCHANGES-262

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: