You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by sebb <se...@gmail.com> on 2013/06/17 16:41:59 UTC
Maven prerequisites are not inherited
Maven prerequisites are not inherited [1], so the entry in the parent
pom does not affect child builds.
Unfortunately it looks like one cannot use a property for the version,
so it might be necessary to add the prerequisites section to every
POM.
Or perhaps use the enforcer plugin?
[1] http://jira.codehaus.org/browse/MNG-2423
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
Re: Maven prerequisites are not inherited
Posted by Oleg Kalnichevski <ol...@apache.org>.
On Mon, 2013-06-17 at 15:41 +0100, sebb wrote:
> Maven prerequisites are not inherited [1], so the entry in the parent
> pom does not affect child builds.
>
> Unfortunately it looks like one cannot use a property for the version,
> so it might be necessary to add the prerequisites section to every
> POM.
> Or perhaps use the enforcer plugin?
>
> [1] http://jira.codehaus.org/browse/MNG-2423
>
Looks like the enforcer plugin is the only realistic choice if want to
enforce a minimal Maven version in all modules.
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org