maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hilco Wijbenga <hilco.wijbe...@gmail.com>
Subject Re: Clarification needed: is <prerequisites> inherited?
Date Sat, 09 Jul 2016 19:57:39 GMT
On 9 July 2016 at 03:09, Robert Scholte <rfscholte@apache.org> wrote:
> prerequisites are never inherited, see
> https://github.com/apache/maven/blob/master/maven-model-builder/src/main/java/org/apache/maven/model/merge/MavenModelMerger.java#L190

Does anyone know why that is? At first glance, that seems rather
unhelpful. You have to repeat the prerequisites in each POM instead of
putting it in the parent once. Why would you ever want to build child
A with different prerequisites than child B? (And if you did come up
with a use case, you could simply override the prerequisites in that
particular child's POM.)

Perhaps there are non-obvious technical difficulties?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message