You can set any number of properties in the parent, that all the modules
inherit.

<properties>
        <prop1>value</prop1>
        <prop2>value</prop2>
</properties>


On Wed, Apr 22, 2009 at 9:20 AM, Anastasios Angelidis
<voo...@videotron.ca>wrote:

> Is there any good samples out there showing how to share properties between
> multiple modules?
>
> I.e:
>
> Parent POM
>   Module1
>   Module2
>
> Basically both module share common database connection properties so
> instead of filtering in both, I would like to filter on the parent and
> propagate to the children. But also would like to be able to to do so on per
> module basis.
>
> So I should be able to build the entire project or the individual modules.
>
> Thanks
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to