Each module you depend on should define one or more configurations for specific scenarios. Then you do the same, and in each <dependency> tag provide the mappings from (some subset of) your configurations to (some subset of) the dependency's configurations.
Take a look at e.g. Hibernate<http://ivyroundup.googlecode.com/svn/trunk/repo/modules/org.hibernate/hibernate/3.3.2.GA/ivy.xml>in Ivy RoundUp and the other modules it depends on. -Archie On Tue, Mar 30, 2010 at 9:35 AM, pablo fernandez <fernandezpabl...@gmail.com > wrote: > I'm still confused after reading the configuration mappings documentation. > > Do I need to specify a single configuration and add [conf='jar->default'] > for each jar? > > On Tue, Mar 30, 2010 at 11:58 AM, Archie Cobbs <archie.co...@gmail.com > >wrote: > > > You're not specifying any configuration mappings, so you're getting the > > default, which is every possible artifact that might be needed in any > > scenario. > > > > -Archie > > > > On Tue, Mar 30, 2010 at 8:34 AM, pablo fernandez < > > fernandezpabl...@gmail.com > > > wrote: > > > > > Hi, > > > > > > I have this ivy.xml file: > > > http://pastie.org/895294 > > > > > > And I get this dependencies included in my /lib folder: > > > > > > activation-1.1.jar > > > ant-1.6.5.jar > > > antlr-2.7.6.jar > > > aopalliance-1.0-sources.jar > > > aopalliance-1.0.jar > > > asm-1.5.3.jar > > > asm-attrs-1.5.3.jar > > > castor-core-1.3-sources.jar > > > castor-core-1.3.jar > > > castor-xml-1.3-sources.jar > > > castor-xml-1.3.jar > > > cglib-2.1_3.jar > > > commons-collections-3.2.jar > > > commons-logging-1.1.1.jar > > > dom4j-1.6.1.jar > > > ehcache-1.6.2-javadoc.jar > > > ehcache-1.6.2-sources.jar > > > ehcache-1.6.2.jar > > > geronimo-jms_1.1_spec-1.0.jar > > > guice-2.0.jar > > > guice-multibindings-2.0.jar > > > guice-servlet-2.0.jar > > > hamcrest-core-1.1.jar > > > hibernate-3.2.6.ga.jar > > > jakarta-regexp-1.4.jar > > > janino-2.4.3.jar > > > javax.inject-1-javadoc.jar > > > javax.inject-1-sources.jar > > > javax.inject-1.jar > > > junit-3.8.jar > > > ldapsdk-4.1.jar > > > logback-classic-0.9.18-sources.jar > > > logback-classic-0.9.18.jar > > > logback-core-0.9.18.jar > > > mail-1.4.jar > > > mockito-core-1.8.0-sources.jar > > > mockito-core-1.8.0.jar > > > objenesis-1.0.jar > > > oro-2.0.8.jar > > > servlet-api-2.5-sources.jar > > > servlet-api-2.5.jar > > > slf4j-api-1.5.10.jar > > > xml-apis-1.0.b2.jar > > > > > > Some of these are transitive dependencies, but others are just strange > > and > > > have nothing to do with my project. Also I'm getting the -sources jars > > and > > > I > > > don't want those either. > > > > > > Any idea why this happens? > > > > > > Thanks! > > > -- > > > Fernandez, Pablo. > > > > > > > > > > > -- > > Archie L. Cobbs > > > > > > -- > Fernandez, Pablo. > -- Archie L. Cobbs