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 17:43:26 UTC

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

    [ http://jira.codehaus.org/browse/MNG-3682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=143157#action_143157 ] 

John Casey commented on MNG-3682:
---------------------------------

can you be more specific about where you saw this error? If it's happening in 2.0.10-RC2, then it needs to be addressed.

Also, do you have a failing test case we could use as a basis for an integration test? This would make it much easier to be sure we got it fixed.

> 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
>            Priority: Minor
>
> 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