You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Carsten Ziegeler <cz...@apache.org> on 2020/04/06 07:31:24 UTC

Released POMs are missing licenses and organisation information

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
cziegeler@apache.org

Re: Released POMs are missing licenses and organisation information

Posted by Carsten Ziegeler <cz...@apache.org>.
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
> cziegeler@apache.org

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