Your question isn't really clear. Perhaps what you are observing is that provided dependencies are not transtive. So, if you have three projects:
A -provided-> B -compile-> C where project A has a provided dependency on project B. Project B has a compile dependency on project C. Project C's artifact is not downloaded when project A is built. This is a good place to start. --- Todd Thiessen > -----Original Message----- > From: j_develop89 [mailto:[email protected]] > Sent: Tuesday, December 08, 2009 1:01 PM > To: [email protected] > Subject: Re: Dependency SCope > > > HI > > Thank You for the quick response. The result was that the > dependency's jar file is not downloaded by maven to the > project. So does this mean the scope provided overrides the > scope compile. > > Thank You > > > > j_develop89 wrote: > > > > HI All > > > > I have 2 Maven subprojects. The first subporject's pom.xml has a > > dependency with scope set to provided. The second > subporject's pom.xml > > has the same dependency with no scope set. What does Maven > do in such > > a situtation. > > > > Thank YOu > > > > -- > View this message in context: > http://old.nabble.com/Dependency-SCope-tp26697571p26697958.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
