You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Rob Elliot (JIRA)" <ji...@codehaus.org> on 2012/08/01 01:29:21 UTC

[jira] (MRELEASE-785) Arguments containing spaces and quotes cause the forked maven process to fail

Rob Elliot created MRELEASE-785:
-----------------------------------

             Summary: Arguments containing spaces and quotes cause the forked maven process to fail
                 Key: MRELEASE-785
                 URL: https://jira.codehaus.org/browse/MRELEASE-785
             Project: Maven 2.x Release Plugin
          Issue Type: Bug
          Components: prepare
    Affects Versions: 2.3.2
         Environment: *nix
            Reporter: Rob Elliot


The following config:

<plugin>
            <artifactId>maven-release-plugin</artifactId>
            <configuration>
              <mavenExecutorId>forked-path</mavenExecutorId>
              <useReleaseProfile>false</useReleaseProfile>
              <arguments>-Dgpg.passphrase="a phrase 'containing' quotes and spaces"</arguments>
            </configuration>
          </plugin>

causes the forked clean verify to fail.  This is preventing me using my gpg key as part of an automated release process.

This is due to a bug in Plexus Utils which I have raised as issue 152 http://jira.codehaus.org/browse/PLXUTILS-152, and for which I have raised a pull request here: https://github.com/sonatype/plexus-utils/pull/5.  I am raising an issue on the release plugin as when/if a fixed version of plexus utils is released the maven release plugin will need to upgrade to this new version to benefit.

--
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

        

[jira] (MRELEASE-785) Arguments containing spaces and quotes cause the forked maven process to fail

Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MRELEASE-785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MRELEASE-785.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.4

Fixed in [r1393175|http://svn.apache.org/viewvc?rev=1393175&view=rev]
I noticed that PLXUTILS-152 already has a test, so let's not be too paranoia.
I've upgraded to 3.0.8, the current most recent release.
Thanks!
                
> Arguments containing spaces and quotes cause the forked maven process to fail
> -----------------------------------------------------------------------------
>
>                 Key: MRELEASE-785
>                 URL: https://jira.codehaus.org/browse/MRELEASE-785
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.3.2
>         Environment: *nix
>            Reporter: Rob Elliot
>            Assignee: Robert Scholte
>             Fix For: 2.4
>
>         Attachments: MRELEASE-785-maven-release-2.3.2.patch, MRELEASE-785-maven-release.patch
>
>
> The following config:
> {code:xml}
> <plugin>
>             <artifactId>maven-release-plugin</artifactId>
>             <configuration>
>               <mavenExecutorId>forked-path</mavenExecutorId>
>               <useReleaseProfile>false</useReleaseProfile>
>               <arguments>-Dgpg.passphrase="a phrase 'containing' quotes and spaces"</arguments>
>             </configuration>
>           </plugin>
> {code}
> causes the forked clean verify to fail.  This is preventing me using my gpg key as part of an automated release process.
> This is due to a bug in Plexus Utils which I have raised as issue 152 PLXUTILS-152, and for which I have raised a pull request here: https://github.com/sonatype/plexus-utils/pull/5.  I am raising an issue on the release plugin as when/if a fixed version of plexus utils is released the maven release plugin will need to upgrade to this new version to benefit.

--
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

        

[jira] (MRELEASE-785) Arguments containing spaces and quotes cause the forked maven process to fail

Posted by "Rob Elliot (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MRELEASE-785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Elliot updated MRELEASE-785:
--------------------------------

    Attachment: MRELEASE-785-maven-release.patch
                MRELEASE-785-maven-release-2.3.2.patch

Plexus Utils 3.0.4 has been released, which fixes this issue.  These patches upgrade to this version, and are valid for trunk & the 2.3.2 tag respectively.
                
> Arguments containing spaces and quotes cause the forked maven process to fail
> -----------------------------------------------------------------------------
>
>                 Key: MRELEASE-785
>                 URL: https://jira.codehaus.org/browse/MRELEASE-785
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.3.2
>         Environment: *nix
>            Reporter: Rob Elliot
>         Attachments: MRELEASE-785-maven-release-2.3.2.patch, MRELEASE-785-maven-release.patch
>
>
> The following config:
> {code:xml}
> <plugin>
>             <artifactId>maven-release-plugin</artifactId>
>             <configuration>
>               <mavenExecutorId>forked-path</mavenExecutorId>
>               <useReleaseProfile>false</useReleaseProfile>
>               <arguments>-Dgpg.passphrase="a phrase 'containing' quotes and spaces"</arguments>
>             </configuration>
>           </plugin>
> {code}
> causes the forked clean verify to fail.  This is preventing me using my gpg key as part of an automated release process.
> This is due to a bug in Plexus Utils which I have raised as issue 152 PLXUTILS-152, and for which I have raised a pull request here: https://github.com/sonatype/plexus-utils/pull/5.  I am raising an issue on the release plugin as when/if a fixed version of plexus utils is released the maven release plugin will need to upgrade to this new version to benefit.

--
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

        

[jira] (MRELEASE-785) Arguments containing spaces and quotes cause the forked maven process to fail

Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MRELEASE-785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=306318#comment-306318 ] 

Robert Scholte commented on MRELEASE-785:
-----------------------------------------

I'm wondering if I should just update this or write an IT for it too... Would be very nice if we could prevent regression.
                
> Arguments containing spaces and quotes cause the forked maven process to fail
> -----------------------------------------------------------------------------
>
>                 Key: MRELEASE-785
>                 URL: https://jira.codehaus.org/browse/MRELEASE-785
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.3.2
>         Environment: *nix
>            Reporter: Rob Elliot
>            Assignee: Robert Scholte
>         Attachments: MRELEASE-785-maven-release-2.3.2.patch, MRELEASE-785-maven-release.patch
>
>
> The following config:
> {code:xml}
> <plugin>
>             <artifactId>maven-release-plugin</artifactId>
>             <configuration>
>               <mavenExecutorId>forked-path</mavenExecutorId>
>               <useReleaseProfile>false</useReleaseProfile>
>               <arguments>-Dgpg.passphrase="a phrase 'containing' quotes and spaces"</arguments>
>             </configuration>
>           </plugin>
> {code}
> causes the forked clean verify to fail.  This is preventing me using my gpg key as part of an automated release process.
> This is due to a bug in Plexus Utils which I have raised as issue 152 PLXUTILS-152, and for which I have raised a pull request here: https://github.com/sonatype/plexus-utils/pull/5.  I am raising an issue on the release plugin as when/if a fixed version of plexus utils is released the maven release plugin will need to upgrade to this new version to benefit.

--
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

        

[jira] (MRELEASE-785) Arguments containing spaces and quotes cause the forked maven process to fail

Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MRELEASE-785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte updated MRELEASE-785:
------------------------------------

    Description: 
The following config:

{code:xml}
<plugin>
            <artifactId>maven-release-plugin</artifactId>
            <configuration>
              <mavenExecutorId>forked-path</mavenExecutorId>
              <useReleaseProfile>false</useReleaseProfile>
              <arguments>-Dgpg.passphrase="a phrase 'containing' quotes and spaces"</arguments>
            </configuration>
          </plugin>
{code}

causes the forked clean verify to fail.  This is preventing me using my gpg key as part of an automated release process.

This is due to a bug in Plexus Utils which I have raised as issue 152 PLXUTILS-152, and for which I have raised a pull request here: https://github.com/sonatype/plexus-utils/pull/5.  I am raising an issue on the release plugin as when/if a fixed version of plexus utils is released the maven release plugin will need to upgrade to this new version to benefit.

  was:
The following config:

<plugin>
            <artifactId>maven-release-plugin</artifactId>
            <configuration>
              <mavenExecutorId>forked-path</mavenExecutorId>
              <useReleaseProfile>false</useReleaseProfile>
              <arguments>-Dgpg.passphrase="a phrase 'containing' quotes and spaces"</arguments>
            </configuration>
          </plugin>

causes the forked clean verify to fail.  This is preventing me using my gpg key as part of an automated release process.

This is due to a bug in Plexus Utils which I have raised as issue 152 http://jira.codehaus.org/browse/PLXUTILS-152, and for which I have raised a pull request here: https://github.com/sonatype/plexus-utils/pull/5.  I am raising an issue on the release plugin as when/if a fixed version of plexus utils is released the maven release plugin will need to upgrade to this new version to benefit.

    
> Arguments containing spaces and quotes cause the forked maven process to fail
> -----------------------------------------------------------------------------
>
>                 Key: MRELEASE-785
>                 URL: https://jira.codehaus.org/browse/MRELEASE-785
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.3.2
>         Environment: *nix
>            Reporter: Rob Elliot
>
> The following config:
> {code:xml}
> <plugin>
>             <artifactId>maven-release-plugin</artifactId>
>             <configuration>
>               <mavenExecutorId>forked-path</mavenExecutorId>
>               <useReleaseProfile>false</useReleaseProfile>
>               <arguments>-Dgpg.passphrase="a phrase 'containing' quotes and spaces"</arguments>
>             </configuration>
>           </plugin>
> {code}
> causes the forked clean verify to fail.  This is preventing me using my gpg key as part of an automated release process.
> This is due to a bug in Plexus Utils which I have raised as issue 152 PLXUTILS-152, and for which I have raised a pull request here: https://github.com/sonatype/plexus-utils/pull/5.  I am raising an issue on the release plugin as when/if a fixed version of plexus utils is released the maven release plugin will need to upgrade to this new version to benefit.

--
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

        

[jira] (MRELEASE-785) Arguments containing spaces and quotes cause the forked maven process to fail

Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MRELEASE-785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte reassigned MRELEASE-785:
---------------------------------------

    Assignee: Robert Scholte
    
> Arguments containing spaces and quotes cause the forked maven process to fail
> -----------------------------------------------------------------------------
>
>                 Key: MRELEASE-785
>                 URL: https://jira.codehaus.org/browse/MRELEASE-785
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.3.2
>         Environment: *nix
>            Reporter: Rob Elliot
>            Assignee: Robert Scholte
>         Attachments: MRELEASE-785-maven-release-2.3.2.patch, MRELEASE-785-maven-release.patch
>
>
> The following config:
> {code:xml}
> <plugin>
>             <artifactId>maven-release-plugin</artifactId>
>             <configuration>
>               <mavenExecutorId>forked-path</mavenExecutorId>
>               <useReleaseProfile>false</useReleaseProfile>
>               <arguments>-Dgpg.passphrase="a phrase 'containing' quotes and spaces"</arguments>
>             </configuration>
>           </plugin>
> {code}
> causes the forked clean verify to fail.  This is preventing me using my gpg key as part of an automated release process.
> This is due to a bug in Plexus Utils which I have raised as issue 152 PLXUTILS-152, and for which I have raised a pull request here: https://github.com/sonatype/plexus-utils/pull/5.  I am raising an issue on the release plugin as when/if a fixed version of plexus utils is released the maven release plugin will need to upgrade to this new version to benefit.

--
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