maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Heinz Marbaise <>
Subject Re: Clarification needed: is <prerequisites> inherited?
Date Sat, 09 Jul 2016 20:24:28 GMT

a very short conclusion of[1] it is:

"The intention of prerequisites was to prevent maven plugins running 
with the wrong Maven versions"...

If you need to require a particular Maven version (for whatever reason) 
you should do that via maven-enforcer-plugin....

Kind regards
Karl Heinz Marbaise


On 7/9/16 9:57 PM, Hilco Wijbenga wrote:
> On 9 July 2016 at 03:09, Robert Scholte <> wrote:
>> prerequisites are never inherited, see
> 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:
For additional commands, e-mail:

View raw message