Maven 1.x Release Plugin

Unable to change project.xml file that contains xsd information

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.5
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

A project.xml that contains xsd can't be parsed and changed by the scm:prepare-release goal for some reason. Mine looks like this:

<project
xmlns="http://maven.apache.org/POM/3.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/3.0.0 http://maven.apache.org/maven-v3_0_0.xsd">
...
</project>

The worst part is the goal doesn't fail when this error occurs, so the source still gets tagged and the build succeeds.

Activity

Hide
fabrizio giustina added a comment -

fixed in version 1.5 of the RELEASE plugin (the scm goal just call code from the release plugin)

Show
fabrizio giustina added a comment - fixed in version 1.5 of the RELEASE plugin (the scm goal just call code from the release plugin)

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: