You can specify exclusions in your dependencies. Something like this:
<dependency>
<groupid>springframework</groupId?
<artifactId>spring-orm</artifactId>
<exclusions>
<exclude>
<groupid>toplink</groupId?
<artifactId>toplink</artifactId>
</exclude>
<exclusions>
</dependency>
cheers,
Tony Nelson wrote:
Is it possible to tell m2 which transitive dependancies you are interested in?
Specifically, I am using springframework/spring-orm which has dependancies on
every database interface it supports. I only need hibernate, but m2 wants to
download jdo, toplink, etc.
How can I tell it I don't need all of those? More importantly, how can I make
it so my other developers check out the new pom.xml (this would be an upgrade
from m1) and run with it?
Thanks in advance.
Tony Nelson
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.12.8/166 - Release Date: 10/11/2005
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]