|maven dependency scope [message #506508]
||Thu, 07 January 2010 13:46
Originally posted by: pajai.extrabright.com|
Maven defines scopes with respect to dependencies. By default a
dependency has the scope 'compile', unless it is specified otherwise
Example (from pom.xml of artifactA):
When in a bundle I have a dependency to artifactA, which defines a
test-scope dependency to artifactB (see previous snippet), then I am
generally not interested to fetch artifactB.
My question: can I with Buckminster restrict the transitive dependency
fetching to the 'compile' scope?
Thanks in advance.
Powered by FUDForum
. Page generated in 0.02042 seconds