apache / apache/maven-help-plugin

[MPH-217] help:effective-pom does not show the value for a POM's "packaging"

Open
#332 1 comment 0 reactions 0 assignees View on GitHub
bug priority:major
Dominant language
Java
Stars
29
Forks
42
Avg merge
1d 12h
Merged PRs (30d)
6

Description

**[Gary D. Gregory](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=garydgregory)** opened **[MPH-217](https://issues.apache.org/jira/browse/MPH-217?redirect=false)** and commented

Running "mvn help:effective-pom" does not show the value for a POM's "packaging" value.

It's not clear from the site documentation if "packaging" is inherited from the parent POM or not.

I understand the default is "jar".

I expect to see the "packaging" value when running "mvn help:effective-pom" so I can understand if the value is being picked up from a parent POM or if it is defaulting to "jar".

TY.

---

**Affects:** 3.5.1

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with `mvn help:effective-pom` on a project whose packaging is inherited or omitted, and inspect how the effective POM is rendered. Trace the help plugin entry point responsible for this goal. Done means the output shows the POM's packaging value and distinguishes inherited packaging from the default `jar`.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.