Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-3682

Ininite loop in MavenMetaDataSource

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Issues to be reviewed for 4.x
    • 3.0-alpha-1
    • None
    • None

    Description

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

      Attachments

        Activity

          People

            jdcasey John Dennis Casey
            tawek Tomasz Wysocki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: