Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.5
-
Labels:None
-
Number of attachments :
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.
fixed in version 1.5 of the RELEASE plugin (the scm goal just call code from the release plugin)