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

Use a pull parser during the build/consumer transformation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0-alpha-1
    • 4.0.0-alpha-2, 4.0.0
    • None
    • None

    Description

      The new build/consumer POM introduced in Maven 4 is currently based on SAX parsing while the POM and other modello based resources are all parsed using the XPP3 StaX parser. This leads to the POM being parsed, transformed and serialised to string using SAX, then parsed again StaX. The performance penalty is quite big when having lots of projects in the reactor.
      This ticket aims at using a single step based on StaX parsers, allowing on-the-fly transformation / parsing in a single step, thus having nearly no performance drop compared to the current state.

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              gnodet Guillaume Nodet
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: