activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoffrey Wiseman" <geoffrey.wise...@gmail.com>
Subject Fwd: ActiveMQ - Maven - ActiveIO
Date Thu, 20 Dec 2007 15:33:23 GMT
As far as I can tell, this message didn't make it through to the mailing
list (sent it right after joining), so I'll fire it off a second time.
Apologies if this is a repeat.

---------- Forwarded message ----------
From: Geoffrey Wiseman <geoffrey.wiseman@gmail.com>
Date: Dec 19, 2007 1:34 PM
Subject: ActiveMQ - Maven - ActiveIO
To: ActiveMQ Users <users@activemq.apache.org>


I wanted to take a quick look at ActiveMQ's latest version, so I fired up a
quick maven project, added the dependency that was listed on the ActiveMQ
website, and ran a "mvn eclipse:eclipse".

Sadly:

> [WARNING] An error occurred during dependency resolution.
>     Failed to retrieve org.apache.activemq:activeio-core-3.1-SNAPSHOT
> Caused by: Unable to download the artifact from any repository
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
>     mvn install:install-file -DgroupId=org.apache.activemq-DartifactId=activeio-core
-Dversion=
> 3.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the file
> there:
>     mvn deploy:deploy-file -DgroupId=org.apache.activemq-DartifactId=activeio-core -Dversion=
> 3.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
> -DrepositoryId=[id]
>
> Path to dependency:
>         1) com.feedroom.spike.activemq:activemq-spike:jar:1.0-SNAPSHOT
>         2) org.apache.activemq:activemq-core:jar:5.0.0
>         3) org.apache.activemq:activeio-core:jar:3.1-SNAPSHOT
>
>
>   org.apache.activemq:activeio-core:jar:3.1-SNAPSHOT
>
> from the specified remote repositories:
>   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>   apache.incubating.releases (http://people.apache.org/repo/m2-incubating-repository
> ),
>   central (http://repo1.maven.org/maven2)
>
> [INFO] Unable to read jar manifest from
> C:\dev\tools\m2_repo\org\apache\activemq\activeio-core\3.1-SNAPSHOT\activeio-
> core-3.1-SNAPSHOT.jar
> Downloading: http://spatium/artifactory/repo/org/apache/geronimo/specs/geronimo-j2ee-management_1.0_spec/1.0/geronimo-j2ee-management_1.0_spec-1.0.jar
>
> 15K downloaded
> Downloading: http://spatium/artifactory/repo/org/apache/activemq/activeio-core/3.1-SNAPSHOT/activeio-core-3.1-SNAPSHOT-tests.jar
>
> Downloading: http://spatium/artifactory/repo/org/apache/activemq/activeio-core/3.1-SNAPSHOT/activeio-core-3.1-SNAPSHOT-tests.jar
>
> [WARNING] An error occurred during dependency resolution.
>     Failed to retrieve org.apache.activemq:activeio-core-3.1-SNAPSHOT
> Caused by: Unable to download the artifact from any repository
>

After a quick check, it seems like I was able to verify Maven's complaint:

   - ActiveMQ's POM (activemq-core + activemq-parent) depends on
   org.apache.activemq:activeio-core:jar:3.1-SNAPSHOT
   - There's no org/apache/activemq/activeio-core in the M2 repo.

I did a quick Nabble search, didn't immediately find anyone with this
problem (although some messages seemed to imply that activeio was optional,
and others imply that it's been missing from the maven repo for a while;
finally, another suggested that depending on a SNAPSHOT from a release was
perhaps a bad idea, which I'm inclined to agree with).

Suggestions?

  - Geoffrey
-- 
Geoffrey Wiseman



-- 
Geoffrey Wiseman

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message