Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.0-beta-4
-
Component/s: None
-
Labels:None
Description
I noticed that maven-release-plugin has removed some elements in pom.xml files, during beta1 transition :
- xml encoding;
- Apache license;
- xsd reference (Regression bug
MNG-596)
Try a svn diff between 289378 and 289532 revisions for
components\maven-plugins\maven-site-plugin\pom.xml
Issue Links
- is duplicated by
-
MRELEASE-15
Release plugin loses namespace information from pom.xml
-
-
MRELEASE-88
Rewritten pom's loose comments and XSD definition
-
Although most of the issues are now fixed, which is a huge improvement and enables the use of release:prepare, there are still 2 problems to reopen it.
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
turns into
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
So: