Yes I can see that it would be duplicate versions except for the fact that the version tag is different.
If maven is going to require a version it should then be able to differentiate the diff between two versions. Anyway I just renamed the jars with a bogus 0 version and it works. Although it seems like an ugly hack. Thanks for responding, Andrew -------Original Message------- From: [EMAIL PROTECTED] Sent: 08/25/03 10:20 PM To: Maven Users List <[EMAIL PROTECTED]> Subject: Re: dependency version (Newbie) > > Andrew Boyd <[EMAIL PROTECTED]> wrote on 26/08/2003 05:59:01 AM: > Hi, > I have the following jars > jboss-common.jar > jboss-jmx-core.jar > jboss-jmx-services.jar > jboss-jmx.jar > > Since Maven requires a version I wrote my dependencies as such: > <dependency> > <groupId>jmx</groupId> > <artifactId>jboss</artifactId> This is jmx/jars/jboss-<version>.jar > <version>common</version> > </dependency> > <dependency> > <groupId>jmx</groupId> > <artifactId>jboss</artifactId> > <version>jmx</version> > </dependency> This is ALSO jmx/jars/jboss-<version>.jar, i.e. a duplicate dependency. > <dependency> > <groupId>jmx</groupId> > <artifactId>jboss-jmx</artifactId> > <version>core</version> > </dependency> > <dependency> > <groupId>jmx</groupId> > <artifactId>jboss-jmx</artifactId> Ditto. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
