Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 79716 invoked from network); 27 Aug 2003 13:18:57 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 27 Aug 2003 13:18:57 -0000 Received: (qmail 19244 invoked by uid 500); 27 Aug 2003 13:17:56 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 19205 invoked by uid 500); 27 Aug 2003 13:17:56 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 19155 invoked from network); 27 Aug 2003 13:17:55 -0000 Received: from unknown (HELO fallback02.mail.atl.earthlink.net) (207.69.200.241) by daedalus.apache.org with SMTP; 27 Aug 2003 13:17:55 -0000 Received: from smtp6.mindspring.com (smtp6.mindspring.com [207.69.200.110]) by fallback02.mail.atl.earthlink.net (8.11.6+Sun/8.11.6) with ESMTP id h7RBmmn23191 for ; Wed, 27 Aug 2003 07:48:48 -0400 (EDT) Received: from [192.168.167.43] (helo=wamui05.slb.atl.earthlink.net) by smtp6.mindspring.com with esmtp (Exim 3.33 #1) id 19rymg-0004ld-00 for users@maven.apache.org; Wed, 27 Aug 2003 07:48:18 -0400 Received: from [192.168.167.58] by EarthlinkWAM via HTTP; Wed Aug 27 07:48:18 EDT 2003 Message-ID: <8008359.1061984898414.JavaMail.nobody@wamui05.slb.atl.earthlink.net> Date: Wed, 27 Aug 2003 07:48:14 -0500 (CDT) From: Andrew Boyd Reply-To: Andrew.Boyd@bbtech.net To: Maven Users List Subject: Re: Re: dependency version (Newbie) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Earthlink Web Access Mail version 3.0 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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 Sent: 08/25/03 05:35 PM To: Maven Users List Subject: Re: dependency version (Newbie) > > You would be better using the tag rather than (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: > > jmx > jboss > common > > > jmx > jboss > jmx > > > jmx > jboss-jmx > core > > > jmx > jboss-jmx > services > > > 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: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org