maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lanchez <>
Subject Misleading error message in Maven2? If not where are .jar files?
Date Sat, 01 Mar 2008 04:09:46 GMT

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 :
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
[INFO] Failed to resolve artifact.

1) javax.jms:jms:jar:1.1

  Try downloading the file manually from:

  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
      mvn deploy:deploy-file -DgroupId=javax.jms -DartifactId=jms
-Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]

  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:

from the specified remote repositories:
(, (,
  central (
View this message in context:
Sent from the Maven - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message