Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 53383 invoked from network); 9 Oct 2009 16:02:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Oct 2009 16:02:39 -0000 Received: (qmail 55014 invoked by uid 500); 9 Oct 2009 16:02:36 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 54937 invoked by uid 500); 9 Oct 2009 16:02:36 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 54927 invoked by uid 99); 9 Oct 2009 16:02:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Oct 2009 16:02:36 +0000 X-ASF-Spam-Status: No, hits=2.7 required=10.0 tests=SPF_NEUTRAL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.211.203] (HELO mail-yw0-f203.google.com) (209.85.211.203) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Oct 2009 16:02:23 +0000 Received: by ywh41 with SMTP id 41so2872907ywh.0 for ; Fri, 09 Oct 2009 09:02:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.101.128.20 with SMTP id f20mr3322927ann.24.1255104120222; Fri, 09 Oct 2009 09:02:00 -0700 (PDT) In-Reply-To: <25823180.post@talk.nabble.com> References: <25823180.post@talk.nabble.com> From: Quintin Beukes Date: Fri, 9 Oct 2009 18:01:40 +0200 Message-ID: <1f3854d50910090901o6dfdce35r69c0ee420a362ce@mail.gmail.com> Subject: Re: Why doesn't maven look for dependency in the local repo? To: Maven Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Perhaps you meant "${project.version}" instead of "${currentVersion}" ? Quintin Beukes On Fri, Oct 9, 2009 at 5:43 PM, laredotornado wro= te: > > Hi, > > I'm using Maven 1.1. =A0I have this dependency in my project.xml file ... > > =A0 =A0 > =A0 =A0 =A0myco.oit.governor.citizen.assistanceUtility > > myco-oit-governor-citizen-assistanceUtility-webapp > =A0 =A0 =A0${currentVersion} > =A0 =A0 =A0war > =A0 =A0 > > However when running a maven command (e.g. maven test:test), I get a fail= ed > dependency error, even though the dependency exists in my local repo. =A0= How > do I force maven to check the local repo? > > maven test:test > =A0__ =A0__ > | =A0\/ =A0|__ _Apache__ ___ > | |\/| / _` \ V / -_) ' \ =A0~ intelligent projects ~ > |_| =A0|_\__,_|\_/\___|_||_| =A0v. 1.1 > > Trying to get missing dependencies (and updated snapshots) required by > myco-oit-governor-citizen-assistanceUtility-test: > - Attempting to download > myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-ass= istanceUtility-webapp::war > from http://localhost:9999/maven > Error retrieving artifact from [http://localhost:9999/maven]: > org.apache.maven.wagon.TransferFailedException: Connection refused > - Attempting to download > myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-ass= istanceUtility-webapp::war > from http://localhost:9999/maven-external > Error retrieving artifact from [http://localhost:9999/maven-external]: > org.apache.maven.wagon.TransferFailedException: Connection refused > - Attempting to download > myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-ass= istanceUtility-webapp::war > from http://localhost:9999/maven-remotebox > Error retrieving artifact from [http://localhost:9999/maven-remotebox]: > org.apache.maven.wagon.TransferFailedException: Connection refused > - Attempting to download > myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-ass= istanceUtility-webapp::war > from http://localhost:9999/maven-external-indiana > Error retrieving artifact from > [http://localhost:9999/maven-external-indiana]: > org.apache.maven.wagon.TransferFailedException: Connection refused > - Attempting to download > myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-ass= istanceUtility-webapp::war > from http://software.ais.pl/repository > - Attempting to download > myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-ass= istanceUtility-webapp::war > from http://download.java.net/maven/1/ > - Attempting to download > myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-ass= istanceUtility-webapp::war > from http://repo1.maven.org/maven > - Attempting to download > myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-ass= istanceUtility-webapp::war > from http://people.apache.org/repo/m1-snapshot-repository/ > - Attempting to download > myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-ass= istanceUtility-webapp::war > from http://mirrors.sunsite.dk/maven > -------------------------------------------------------------------------= ------ >>> The build cannot continue because of the following unsatisfied >>> dependency: > - > myco.oit.governor.citizen.assistanceUtility:myco-oit-governor-citizen-ass= istanceUtility-webapp::war > > -------------------------------------------------------------------------= ------ > BUILD FAILED > -------------------------------------------------------------------------= ------ > > -- > View this message in context: http://www.nabble.com/Why-doesn%27t-maven-l= ook-for-dependency-in-the-local-repo--tp25823180p25823180.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > 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