Maven 2.x Changes Plugin

No issue links generated if ${project.issueManagement.url} empty but issueLinkTemplate provided

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.1
  • Component/s: changes.xml
  • Labels:
    None
  • Number of attachments :
    0

Description

The following configuration

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-changes-plugin</artifactId>
  <version>2.0</version>
  <configuration>
    <issueLinkTemplate>http://mycompany.org/mantis//view.php?id=%ISSUE%</issueLinkTemplate>
  </configuration>
</plugin>

will needlessly cause

[WARNING] No Issue Management/URL defined in pom.xml.  Links to your issues will not work correctly.

in case the POM does not define <issueManagement>.

Activity

Hide
Benjamin Bentmann added a comment -

Fixed in r650961.

Show
Benjamin Bentmann added a comment - Fixed in r650961.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: