Probably answering my own question: normal inheritance is used for these tags as well, so if you want to find the license or organisation of a pom you need to walk up the parent pom chain until you find it :(

Regards
Carsten

On 06.04.2020 09:31, Carsten Ziegeler wrote:
Hi

I just realised that our released poms do not contain the <licenses> or <organisation> section inherited from the parent pom.

For example [1] does not have it, but I couldn't find it in any other pom I looked at either.

If you do a "mvn help:effective-pom" in such a project, the tags appear.

Does anyone have an idea what is going wrong?

Regards
Carsten


[1] https://repo1.maven.org/maven2/org/apache/sling/org.apache.sling.feature/1.1.8/org.apache.sling.feature-1.1.8.pom

--
Carsten Ziegeler
Adobe Research Switzerland
cziege...@apache.org

--
--
Carsten Ziegeler
Adobe Research Switzerland
cziege...@apache.org

Reply via email to