[
https://issues.apache.org/jira/browse/MNG-6998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17215008#comment-17215008
]
Piotr Zygielo commented on MNG-6998:
------------------------------------
Packaging {{war}} is set for artifactId {{cs-agent-hix-portal}} in the first
picture.
But the packaging {{jar}} marked with red line is for artifactId
{{AuditInfoBatchJob}} on the second picture.
I find it confusing.
Is it also unexpectedly {{jar}} for {{cs-agent-hix-portal}}?
> POM parser returns jar packaging when pom contains war packaging entry
> ----------------------------------------------------------------------
>
> Key: MNG-6998
> URL: https://issues.apache.org/jira/browse/MNG-6998
> Project: Maven
> Issue Type: Bug
> Components: POM
> Affects Versions: 3.6.3
> Environment: Windows 10 64 bit, Eclipse Juno Service Release 2,
> maven-model-3.6.3.jar
> Reporter: Paul C Brown
> Priority: Minor
> Attachments: image-2020-10-15-16-36-42-820.png,
> image-2020-10-15-16-38-09-442.png
>
>
> 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:
> !image-2020-10-15-16-38-09-442.png!
>
> Parsed model (output of read() method):
> !image-2020-10-15-16-36-42-820.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)