It's Maven's decision: http://jira.codehaus.org/browse/MNG-1978

Brett still hasn't been convinced that provided status should be
transitive.  I don't have any particular use case to argue one way or
another...

-Stephen

On 3/13/06, Mario Ivankovits <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I started using maven 2 to build our project and maybe hit a bug now.
>
> The project layout is:
>
> project
> +-project-app
> +-project-web
>
> where "project-web" depends on "project-app".
>
> One of the dependency is jfreechart which itself depends on e.g. "gnujaxp".
> Now I dont want to package the gnujaxp and so I though I override its
> scope to "provided" in "project-app".
> But "project-web" still package it. Other dependencies defined as
> "provided" work, it looks like its only a problem if a dependency
> declares it.
>
> I worked around this problem by defining the dependency "gnujaxp" in
> "project-web" too as "provided" and not its not packaged any more.
> I think this should not be necessary, no?
>
> Is it my or mavens fault?
>
> Thanks!
> Ciao,
> Mario
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Stephen Duncan Jr
www.stephenduncanjr.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to