The preferred thing is to get the Hibernate and Spring POM's to put in the <optional>true</optional> flag on their dependencies, so that you don't have to do anything. Until then, put in exclusions.
-Stephen On 11/2/05, Robert Taylor <[EMAIL PROTECTED]> wrote: > Greetings, I'm new to Maven and am using Maven 2.0. > I'm trying to build a web application. That application has some > dependencies such as Hibernate3 and Spring. The transitive dependency > feature of Maven is copying in several .jar files which I don't > necessarily need at run time because I'm not using those particular > features of Hibernate3 and Spring. Is there a way to only have Maven > copy over those dependencies that are explicitely defined or do I have > to use the "excludes" feature to exclude those dependent dependencies > which I don't need. > > /robert > > > --------------------------------------------------------------------- > 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]
