Skip to content

Remove duplicate POM elements in child POMs #1208

@rpoet-jh

Description

@rpoet-jh

What?

In order to fix an issue we ran into during the 2.3.0 release, there were several POM elements duplicated in child POMs added so that publishing would succeed.

A ticket was opened with Sonatype, and they pointed out that the project.name element is not inherited and needs to be defined in all child POMs.

Based on this, we should remove url, licenses, developers, and scm elements in child POMs so they can be inherited from the parent POM. This is needed in pass-core and pass-support.

Here is a link with a list of inherited elements: https://maven.apache.org/pom.html#Inheritance

Why?

To keep out POMs clean.

How?

As noted, edit the POMs.

Acceptance Criteria

Duplicated elements are removed from child POMs.

Related Issues

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions