You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Daun DeFrance (JIRA)" <ji...@codehaus.org> on 2006/04/13 18:31:48 UTC

[jira] Updated: (MRELEASE-92) PerformMojo throws an error if there are no process args

     [ http://jira.codehaus.org/browse/MRELEASE-92?page=all ]

Daun DeFrance updated MRELEASE-92:
----------------------------------

    Attachment: MRELEASE-92.patch

> PerformMojo throws an error if there are no process args
> --------------------------------------------------------
>
>          Key: MRELEASE-92
>          URL: http://jira.codehaus.org/browse/MRELEASE-92
>      Project: Maven 2.x Release Plugin
>         Type: Bug

>     Versions: 2.0-beta-5
>  Environment: winxp, maven 2.0.4
>     Reporter: Daun DeFrance
>  Attachments: MRELEASE-92.patch
>
>
> While reading the process, PerformReleasMojo.getSystemEnvVars looks for an '=' and then tries to get substrings on either side to form key/value properties.  Under my environment, the index of '=' is -1 and the code does not guard before trying to grab a substring with this index.
> I will attach the diff file of the (very minor) fix to workaround this problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira