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

2008-05-22 Thread Adrian Herscu

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

2008-05-22 Thread Adrian Herscu
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]