Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 26684 invoked from network); 1 Mar 2008 04:10:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Mar 2008 04:10:27 -0000 Received: (qmail 45182 invoked by uid 500); 1 Mar 2008 04:10:14 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 45129 invoked by uid 500); 1 Mar 2008 04:10:14 -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 45118 invoked by uid 99); 1 Mar 2008 04:10:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Feb 2008 20:10:14 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Mar 2008 04:09:25 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JVJ2g-000313-AZ for users@maven.apache.org; Fri, 29 Feb 2008 20:09:46 -0800 Message-ID: <15772504.post@talk.nabble.com> Date: Fri, 29 Feb 2008 20:09:46 -0800 (PST) From: lanchez To: users@maven.apache.org Subject: Misleading error message in Maven2? If not where are .jar files? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: apache_support@purpleblade.net X-Virus-Checked: Checked by ClamAV on apache.org I decided to give this ActiveMQ thing a spin and created a simple pom. When I run $mvn install I get the following error message (see below). I went to the following URL : http://java.sun.com/products/jms/docs.html to download a jar to put in the repo but at this URL there are only PDF files (no reference impl's). What to do? --- Error message [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) javax.jms:jms:jar:1.1 Try downloading the file manually from: http://java.sun.com/products/jms/docs.html Then, install it using the command: mvn install:install-file -DgroupId=javax.jms -DartifactId=jms -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=javax.jms -DartifactId=jms -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) shift:activemq-sample:jar:1.0-SNAPSHOT 2) log4j:log4j:jar:1.2.15 3) javax.jms:jms:jar:1.1 ---------- 1 required artifact is missing. for artifact: shift:activemq-sample:jar:1.0-SNAPSHOT from the specified remote repositories: http://people.apache.org/repo/m2-snapshot-repository (http://people.apache.org/repo/m2-snapshot-repository/), maven2-repository.dev.java.net (http://download.java.net/maven/2/), central (http://repo1.maven.org/maven2) -- View this message in context: http://www.nabble.com/Misleading-error-message-in-Maven2---If-not-where-are-.jar-files--tp15772504s177p15772504.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