Yes they are all in the same dir. If I put the complete name in the artifactId and leave the version blank it looks for jboss-jmx-.jar (trailing '-'). I just went a head and added a version 0 to each of the files and it now finds them. But that seems like a very ugly hack.
Thanks Andrew -------Original Message------- From: Luke Taylor <[EMAIL PROTECTED]> Sent: 08/25/03 05:35 PM To: Maven Users List <[EMAIL PROTECTED]> Subject: Re: dependency version (Newbie) > > You would be better using the <jar> tag rather than <version> (which is intended for version numbers). That aside, I would guess that you have something inconsistent between your repository structure and the dependencies you've listed. For example, are they really all under the group "jmx" as you have them here (as opposed to "jboss")? Luke. Andrew Boyd wrote: > 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> > <version>common</version> > </dependency> > <dependency> > <groupId>jmx</groupId> > <artifactId>jboss</artifactId> > <version>jmx</version> > </dependency> > <dependency> > <groupId>jmx</groupId> > <artifactId>jboss-jmx</artifactId> > <version>core</version> > </dependency> > <dependency> > <groupId>jmx</groupId> > <artifactId>jboss-jmx</artifactId> > <version>services</version> > </dependency> > > Now when Maven retrieves from the maven.repo.remote > it only retrieves > Attempting to download jboss-common.jar. > ........... > Attempting to download jboss-jmx-core.jar. > ....................................... > > It then obviously does not compile. I checked the local repository and those are the only two in the jmx/jars dir. > > Any suggestions? > -- Luke Taylor. Monkey Machine Ltd. PGP Key ID: 0x57E9523C http://www.monkeymachine.ltd.uk --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]