You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Tony Nelson <tn...@starpoint.com> on 2005/11/11 20:39:14 UTC

m2 transitive dependancies

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

-- 
Tony Nelson
Director of IT Operations
Starpoint Solutions LLC
115 Broadway, 2nd Fl
New York, NY  10006




This email message from Starpoint Solutions LLC is for the sole use of the intended recipient(s) and may contain confidential and privileged information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.  Opinions, conclusions and other information in this message that do not relate to the official business of Starpoint Solutions shall be understood as neither given nor endorsed by it.


Re: m2 transitive dependancies

Posted by Erick Dovale <ed...@carosys.com>.
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: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>------------------------------------------------------------------------
>
>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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org