You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Arnaud Heritier (JIRA)" <ji...@codehaus.org> on 2008/11/26 22:47:19 UTC

[jira] Work started: (MRELEASE-386) Sneaky bug in DefaultReleaseManager.perform()

     [ http://jira.codehaus.org/browse/MRELEASE-386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on MRELEASE-386 started by Arnaud Heritier.

> Sneaky bug in DefaultReleaseManager.perform()
> ---------------------------------------------
>
>                 Key: MRELEASE-386
>                 URL: http://jira.codehaus.org/browse/MRELEASE-386
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-8
>         Environment: n/a
>            Reporter: Anders Hammar
>            Assignee: Arnaud Heritier
>             Fix For: 2.0-beta-9
>
>         Attachments: MRELEASE-386-patch.diff
>
>
> While browsing the code I saw this sneaky bug in DefaultReleaseManager (note that the clean parameter value is ignored):
> {noformat}
>     public void perform( ReleaseDescriptor releaseDescriptor, ReleaseEnvironment releaseEnvironment, List reactorProjects, boolean clean )
>         throws ReleaseExecutionException, ReleaseFailureException
>     {
>         perform( releaseDescriptor, releaseEnvironment, reactorProjects, null, false );
>     }
> {noformat}
> This method is only used once within the release plugin and it that case the clean parameter value is then always 'false', so this is not yet an issue when using the plugin.

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