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

ModelBuilder hangs with malformed pom.xml

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

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.5.2, 3.5.3
    • 3.6.1
    • POM
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hboutemy Herve Boutemy
            rohanpadhye Rohan Padhye
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment