[ 
https://jira.codehaus.org/browse/SCM-723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=326664#comment-326664
 ] 

Kristian Rosenvold edited comment on SCM-723 at 6/13/13 4:06 AM:
-----------------------------------------------------------------

plexus-utils has had a fair amount of escaping bugs. Since they're all platform 
specific (and we're quite few windows users in the dev team), you may want to 
add the following to your release plugin pom:

                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-release-plugin</artifactId>
                    <version>2.4.1</version>
                    <dependencies>
                        <dependency>
                                <groupId>org.codehaus.plexus</groupId>
                                <artifactId>plexus-utils</artifactId>
                                <version>3.0.10</version>
                        </dependency>
                    </dependencies>
                </plugin>


You can play around with versions from 2 .0 and above, check 
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/

If you can identify if this works with any specific versions, we might be able 
to pinpoint a fix

If you're able to find a version that fixes/breaks the escaping issue we might 
be able to get somewhere with this


                
      was (Author: krosenvold):
    plexus-utils has had a fair amount of escaping bugs. Since they're all 
platform specific (and we're quite few windows users), you may want to add the 
following to your release plugin pom:

                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-release-plugin</artifactId>
                    <version>2.4.1</version>
                    <dependencies>
                        <dependency>
                                <groupId>org.codehaus.plexus</groupId>
                                <artifactId>plexus-utils</artifactId>
                                <version>3.0.10</version>
                        </dependency>
                    </dependencies>
                </plugin>


Youj can play around with versions from 2 .0 and above, check 
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/

If you're able to find a version that fixes/breaks the escaping issue we might 
be able to get somewhere with this


                  
> On windows mvn release:prepare fails trying commit changed pom.xml files.
> -------------------------------------------------------------------------
>
>                 Key: SCM-723
>                 URL: https://jira.codehaus.org/browse/SCM-723
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-mercurial (hg)
>    Affects Versions: 1.8.1
>         Environment: Apache Maven 3.0.5 
> (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100)
> Maven home: C:\maven
> Java version: 1.7.0_21, vendor: Oracle Corporation
> Java home: C:\Java\64bit\jdk1.7.0_21\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 8", version: "6.2", arch: "amd64", family: "windows"
>            Reporter: Børre Dalhaug
>            Priority: Blocker
>         Attachments: MavenReleasePluginBug.png
>
>
> The commit includes a commit message, but the double quotes (") is not 
> escaped so the command fails. On Mac (and Linux?) the commit message is in 
> single quotes (') so that works.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to