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

ModelBuilder hangs with malformed pom.xml

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5.2, 3.5.3
    • Fix Version/s: 3.6.1
    • Component/s: POM
    • Labels:
      None

      Description

      Maven hangs (infinitie loop, 100% CPU) when provided with a malformed pom.xml file that contains a question mark in a tag name.

      Minimal example for a pom.xml: 

      <project /><?>

       
      Running mvn results in the output:

      [INFO] Scanning for projects...

        
      And is stuck there forever, instead of providing an error message.

      I found this issue using JQF.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              hboutemy Herve Boutemy
              Reporter:
              rohanpadhye Rohan Padhye

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment