[
https://jira.codehaus.org/browse/MRELEASE-607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=316404#comment-316404
]
Fred Cooke commented on MRELEASE-607:
-------------------------------------
I agree with the above, however I only wrap the first tag over two similarly
long lines. In addition the release:prepare step modifies the SCM section
changing indentation in some cases. It may do other bad things too, but
MRELEASE-814 is blocking me from finding out at this time.
> release:prepare messes up line wrapping in pom.xml
> --------------------------------------------------
>
> Key: MRELEASE-607
> URL: https://jira.codehaus.org/browse/MRELEASE-607
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Components: prepare
> Affects Versions: 2.1
> Reporter: Felix H. Dahlke
>
> After invoking {{release:prepare}}, the first lines of my pom.xml file are
> changed from this:
> {code:xml}
> <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">
> {code}
> To this:
> {code:xml}
> <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">
> {code}
> I'd prefer it if the release plugin would leave the file's line wrapping
> alone.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira