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

Exception when parsing <?m2e ignore in large POM

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.3.9, 3.5.0-alpha-1, 3.5.0-beta-1
    • None
    • Bootstrap & Build
    • None
    • Windows 7
    • Patch

    Description

      Parsing large pom.xml (>8kb), which contains <?m2e ignore fails

      • Steps
        • use given Unable to embed resource: pom.xml of type application/xml
        • execute mvn validate
      • Expected
        • pass
      • Actual
        • Caused by: java.lang.ArrayIndexOutOfBoundsException: 10106
          	at org.codehaus.plexus.util.xml.pull.MXParser.parsePI(MXParser.java:2502)
          
        • see Unable to embed resource: debug.log of type text/plain
      • this is caused by plexus-utils issue no 22
        • PR must be merged PR#23

      Attachments

        1. pom.xml
          10 kB
          Robert Kleinschmager
        2. debug.log
          9 kB
          Robert Kleinschmager

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              barclay_reg Robert Kleinschmager
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: