You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Igor Bondarenko <ig...@nsirad.com> on 2006/10/04 15:32:29 UTC

Maven2 and ActiveMQ 4.1 snapshot

Hello everyone.

Had anyone had any luck trying to consume the ActiveMQ 4.1 snapshot
release from within a Maven2 project? 
here are the relevant sections of my pom.xml:
 
  ...
  <repository>
   <id>activemq-incubator</id>
   <name>activemq-incubator</name>
   <url>http://people.apache.org/maven-snapshot-repository/</url>
  </repository>
  ...
  <dependency>
    <groupId>org.apache.activemq</groupId>
    <artifactId>apache-activemq</artifactId>
    <version>4.1-incubator-SNAPSHOT</version>
  </dependency>

Problem: 
Looking at the error list from the Maven2 build (see below), it appears
that the snapshot version numbers are not specified correctly. For
example, the activemq-web snapshot version is specified as
org.apache.activemq:activemq-web:jar:4.1-incubator-20061002.071007-45,
but there is no such version in
http://people.apache.org/maven-snapshot-repository/org/apache/activemq/a
ctivemq-web/4.1-incubator-SNAPSHOT/: There are ...071006-45 and
...071007-46 in there, however.

Details:

10/4/06 9:18:53 AM EDT: Missing:
----------
1) org.apache.activemq:activemq-web:jar:4.1-incubator-SNAPSHOT
  	1) ...
  	2)
org.apache.activemq:apache-activemq:jar:4.1-incubator-SNAPSHOT
  	3)
org.apache.activemq:activemq-web:jar:4.1-incubator-20061002.071007-45

2) org.apache.activemq:activemq-core:jar:4.1-incubator-SNAPSHOT
  	1) ...
  	2)
org.apache.activemq:apache-activemq:jar:4.1-incubator-SNAPSHOT
  	3)
org.apache.activemq:activemq-core:jar:4.1-incubator-20061002.071007-45

3) org.apache.activemq:activemq-jaas:jar:4.1-incubator-SNAPSHOT
  	1) ...
  	2)
org.apache.activemq:apache-activemq:jar:4.1-incubator-SNAPSHOT
  	3)
org.apache.activemq:activemq-jaas:jar:4.1-incubator-20061002.071007-45

4) org.apache.activemq:activemq-console:jar:4.1-incubator-SNAPSHOT
  	1) ...
  	2)
org.apache.activemq:apache-activemq:jar:4.1-incubator-SNAPSHOT
  	3)
org.apache.activemq:activemq-console:jar:4.1-incubator-20061002.071007-4
5

5)
org.apache.activemq:activemq-core:test-jar:tests:4.1-incubator-SNAPSHOT
  	1) ...
  	2)
org.apache.activemq:apache-activemq:jar:4.1-incubator-SNAPSHOT
  	3)
org.apache.activemq:activemq-core:test-jar:tests:4.1-incubator-20061002.
071007-45

6) org.apache.activemq:activemq-web-demo:war:4.1-incubator-SNAPSHOT
  	1) ...
  	2)
org.apache.activemq:apache-activemq:jar:4.1-incubator-SNAPSHOT
  	3)
org.apache.activemq:activemq-web-demo:war:4.1-incubator-20061002.071007-
45

7) org.apache.activemq:activemq-optional:jar:4.1-incubator-SNAPSHOT
  	1) ...
  	2)
org.apache.activemq:apache-activemq:jar:4.1-incubator-SNAPSHOT
  	3)
org.apache.activemq:activemq-optional:jar:4.1-incubator-20061002.071007-
45

----------
7 required artifacts are missing.

P.S. Thanks in advance for any help, and keep up the good work.