You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Steinar Bang <sb...@dod.no> on 2007/11/14 14:28:25 UTC

Disinheriting dependecies

Is there a way to make a child POM inherit the parent's property
settings, but not the parent's dependecies list?

Thanx!


- Steinar


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


Re: Disinheriting dependecies

Posted by Steinar Bang <sb...@dod.no>.
>>>>> "Wayne Fay" <wa...@gmail.com>:

> Not that I'm aware of. You may want to use <dependencyManagement>
> instead of straight dependencies -- then you can control what deps are
> needed in your children.

I found a fairly clear description of <dependencyManagement> here:
 http://www.bhaskarvk.info/content/maven/dependency_management.html

Thanx for the heads up!


- Steinar


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


Re: Disinheriting dependecies

Posted by Wayne Fay <wa...@gmail.com>.
Not that I'm aware of. You may want to use <dependencyManagement>
instead of straight dependencies -- then you can control what deps are
needed in your children.

Wayne

On 11/14/07, Steinar Bang <sb...@dod.no> wrote:
> Is there a way to make a child POM inherit the parent's property
> settings, but not the parent's dependecies list?
>
> Thanx!
>
>
> - Steinar
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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