You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Adrian Herscu <bm...@fastmail.fm> on 2008/05/22 17:55:18 UTC

[m2] the maven-release-plugin alters the eol style of cdata sections

Hi all,

Spent an hour or so to discover why subversion fails to commit the
pom.xml during a release:prepare...

If the pom.xml file contains CDATA sections (as required by few plugins,
such as the maven-eclipse-plugin), then the end of line sequence of
these lines is changed to LF.

The only solution I have found is to change the svn:eol-style of the
pom.xml to LF.

Adrian.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] the maven-release-plugin alters the eol style of cdata sections

Posted by Adrian Herscu <bm...@fastmail.fm>.
This "solution" causes other problem with subversion -- the error 
message look like this:
svn: Can't move <some tmp file> <some file> access is denied

I couldn't make it work, even on a clean working copy with minimum 
running processes (search, anti-virus, tortoisesvn).

The only remedy was to comment out the CDATA section :(

Any suggestions?

Adrian Herscu wrote:
> Hi all,
> 
> Spent an hour or so to discover why subversion fails to commit the
> pom.xml during a release:prepare...
> 
> If the pom.xml file contains CDATA sections (as required by few plugins,
> such as the maven-eclipse-plugin), then the end of line sequence of
> these lines is changed to LF.
> 
> The only solution I have found is to change the svn:eol-style of the
> pom.xml to LF.
> 
> Adrian.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org