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

POM parser returns jar packaging when pom contains war packaging entry

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not A Problem
    • Affects Version/s: 3.6.3
    • Fix Version/s: None
    • Component/s: POM
    • Labels:
      None
    • Environment:
      Windows 10 64 bit, Eclipse Juno Service Release 2, maven-model-3.6.3.jar

      Description

      The read() method on the MavenXpp3Reader returns a model whose packaging entry has the value of "jar" when the source document has the value of "war". Source view:

       

      Parsed model (output of read() method):

        Attachments

        1. image-2020-10-15-16-36-42-820.png
          120 kB
          Paul C Brown
        2. image-2020-10-15-16-38-09-442.png
          105 kB
          Paul C Brown

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pbrown12303 Paul C Brown
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: