You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Evan Bollig <bo...@gmail.com> on 2006/03/14 09:09:24 UTC
inherited properties
I have a multiproject setup with a parent pom that consolidates common
properties for subprojects in the <properties> ...</properties>
section (below modules). I found that none of the subprojects inherit
these props so Im curious to know what I am doing wrong. How does one
set properties in a parent pom and have them inherited by all
children?
--
-Evan Bollig
bollig@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: inherited properties
Posted by Simon Kitching <sk...@apache.org>.
On Tue, 2006-03-14 at 03:09 -0500, Evan Bollig wrote:
> I have a multiproject setup with a parent pom that consolidates common
> properties for subprojects in the <properties> ...</properties>
> section (below modules). I found that none of the subprojects inherit
> these props so Im curious to know what I am doing wrong. How does one
> set properties in a parent pom and have them inherited by all
> children?
>
> --
Do the child poms have <parent> tags in them that point to the parent
pom? If not, is the path from the child to the parent "../pom.xml" (the
default value)?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org