On Apr 17, 2007, at 5:52 PM, Paul Smith wrote:
Ok, I tried adding the jms dependency to the receivers pom.xml, but
try as I might to fight with the maven settings.xml I continually
get this error:
Missing:
----------
1) javax.jms:jms:jar:1.1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=javax.jms -DartifactId=jms \
-Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) log4j:apache-log4j-receivers:jar:0.1-SNAPSHOT
2) javax.jms:jms:jar:1.1
----------
1 required artifact is missing.
for artifact:
log4j:apache-log4j-receivers:jar:0.1-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
Here's the diff of the pom.xml, I copied this snippet from the
log4j's pom.xml, assuming it would work..:
...
Is it just me?
Paul
A lot of Sun's stuff has licenses that preclude redistribution such
as packing them into the Maven repo. So there is a description of
the resource, but you have to manually download the stuff from Sun's
site and then run the install command to put it into your local repo.
JMS 1.1 can be downloaded from http://java.sun.com/products/jms/
docs.html