You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2008/07/25 18:00:26 UTC

[jira] Closed: (MNG-3682) Ininite loop in MavenMetaDataSource

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

John Casey closed MNG-3682.
---------------------------

         Assignee: John Casey
       Resolution: Fixed
    Fix Version/s:     (was: 2.0.10)
                   2.1-alpha-1

investigated 2.0.10-RC branch, and this code doesn't apply there. Fixed on trunk (2.1-alpha-1 will be where this first appears).

Thanks for the help.

> Ininite loop in MavenMetaDataSource
> -----------------------------------
>
>                 Key: MNG-3682
>                 URL: http://jira.codehaus.org/browse/MNG-3682
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.x
>            Reporter: Tomasz Wysocki
>            Assignee: John Casey
>            Priority: Minor
>             Fix For: 2.1-alpha-1
>
>
> The do-while loop in MavenMetadataSource can run forever when ProjectBuildingException occurs after project relocation.
> Suggested fix:
> Change
>                 catch ( ProjectBuildingException e )
>                 {
>                     handleInvalidOrMissingMavenPOM( artifact, e );
>                 }
> to
>                 catch ( ProjectBuildingException e )
>                 {
>                     handleInvalidOrMissingMavenPOM( artifact, e );
>                     project = null;
>                 }

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