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..:

Paul-Smiths-Computer:/workspace/log4j-stuff/receivers paulsmith$ svn diff pom.xml
Index: pom.xml
===================================================================
--- pom.xml     (revision 529792)
+++ pom.xml     (working copy)
@@ -117,6 +117,11 @@
       <artifactId>oro</artifactId>
       <version>2.0.8</version>
     </dependency>
+    <dependency>
+      <groupId>javax.jms</groupId>
+      <artifactId>jms</artifactId>
+      <version>1.1</version>
+    </dependency>
   </dependencies>
   <reporting>
     <plugins>


I also hunted in the maven repository stuff, and it appears this is valid:

http://mvnrepository.com/artifact/javax.jms/jms

Is it just me?



Paul

Reply via email to