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

Exception when parsing <?m2e ignore in large POM

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.3.9, 3.5.0-alpha-1, 3.5.0-beta-1
    • Fix Version/s: None
    • Component/s: Bootstrap & Build
    • Labels:
      None
    • Environment:
      Windows 7
    • Flags:
      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. debug.log
          9 kB
          Robert Kleinschmager
        2. pom.xml
          10 kB
          Robert Kleinschmager

          Issue Links

            Activity

              People

              • Assignee:
                rfscholte Robert Scholte
                Reporter:
                barclay_reg Robert Kleinschmager
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: