Georg Lippold created MPH-175: --------------------------------- Summary: mvn help:effective-pom leaves <parent> pom in place Key: MPH-175 URL: https://issues.apache.org/jira/browse/MPH-175 Project: Maven Help Plugin Issue Type: Bug Components: effective-pom Affects Versions: 3.2.0 Environment: MacOS Reporter: Georg Lippold
When executing mvn help:effective-pom, the <parent> XML node is left intact. The <parent> should be removed in the effective POM. If you generate the effective pom to modify the project, e.g. to remove or override settings that are present in the parent pom, then including the <parent> node in the resulting XML re-introduces the settings that you wanted to modify. Example: <parent> specifies a setting, e.g. <project> <properties> <format>HTML</format> </properties> </project> If the <format> node is now removed from the effective POM, then it is re-introduced by including the <parent> in every maven run. The parent POM should not be required anymore in an effective POM, because all its settings should already be included in the effective POM. -- This message was sent by Atlassian Jira (v8.3.4#803005)