You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Geoffrey Wiseman <ge...@gmail.com> on 2007/12/19 19:34:51 UTC
ActiveMQ - Maven - ActiveIO
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
Re: ActiveMQ - Maven - ActiveIO
Posted by Sigmund <si...@gmail.com>.
> > [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
> >
This error is still around, got around it by excluding activeio from tj
activemq-core dependency:
..
<exclusions>
<exclusion>
<groupId>org.apache.activemq</groupId>
<artifactId>activeio-core</artifactId>
</exclusion>
</exclusions>
..
This is a workaround, this issue causes a lot of problems. Would be great if
somebody fixed it :-)
/S
--
View this message in context: http://www.nabble.com/ActiveMQ---Maven---ActiveIO-tp14422739s2354p15732938.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: ActiveMQ - Maven - ActiveIO
Posted by tpamsler <tp...@ucdavis.edu>.
I am having the same issue. I have in my pom.mxl:
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-core</artifactId>
<version>5.0.0</version>
<scope>runtime</scope>
</dependency>
Which seems to require activeio-3.1-Snapshot. I tried to add the repository
to the pom.xml but that didn't work either. The only way to get it to build
in maven2, is to actually download the AMQ v5 binary release and place the
JARS in ~/.m2/repository/... by hand. Has anybody gotten this to work?
-- Thomas
Jason Anderson-3 wrote:
>
> it really seems like if the project depends on a snapshot, the apache
> snapshot repository should be in the pom
>
> as a workaround you can add it to your pom (or settings.xml or
> whatever) but it would be nice if this wasn't necessary
>
> <repositories>
> <repository>
> <id>apache-snaps</id>
> <name>apache snapshot repository</name>
>
> <url>http://people.apache.org/repo/m2-snapshot-repository</url>
> <releases>
> <enabled>false</enabled>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> </repository>
> </repository>
>
>
> On Dec 19, 2007 10:34 AM, Geoffrey Wiseman <ge...@gmail.com>
> wrote:
>> 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
>>
>
>
--
View this message in context: http://www.nabble.com/ActiveMQ---Maven---ActiveIO-tp14422739s2354p14792589.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: ActiveMQ - Maven - ActiveIO
Posted by william1104 <wi...@gmail.com>.
Could we workaround the problem by switching the dependency from
activeio-3.1-snapshot to activeio-3.1.0 with following settings?
....
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activeio-core</artifactId>
<version>3.1.0</version>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-core</artifactId>
<version>5.0.0</version>
<exclusions>
<exclusion>
<groupId>org.apache.activemq</groupId>
<artifactId>activeio-core</artifactId>
</exclusion>
</exclusions>
</dependency>
.....
Appreciate to anyone can help.
--
View this message in context: http://www.nabble.com/ActiveMQ---Maven---ActiveIO-tp14422739s2354p17093826.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: ActiveMQ - Maven - ActiveIO
Posted by "deepak.kumar" <de...@gmail.com>.
Thanks Chris & Toli,
Chris, it appears from Toli's comment that activeio-core is not required by
activemq. Can you confirm?
Regards,
Deepak.
--
View this message in context: http://www.nabble.com/ActiveMQ---Maven---ActiveIO-tp14422739s2354p15763806.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: ActiveMQ - Maven - ActiveIO
Posted by Chris Custine <cc...@apache.org>.
The bamboo server that creates the nightly snapshots is having problems, and
there is a clean up script that probably removed the older snapshots.
Hopefully we can get this fixed soon.
Chris
On Thu, Feb 28, 2008 at 4:53 PM, toli <to...@marketcetera.com> wrote:
>
> Deepak,
>
> After reading through the ActiveMQ lists it seems that the activeio-core
> is
> not necessary at all.
> So you can manually exclude the ativeio-core portion like this and
> everything seems to work:
> <dependency>
> <groupId>org.apache.activemq</groupId>
> <artifactId>activemq-core</artifactId>
> <version>5.0.0</version>
> <exclusions>
> <exclusion>
> <groupId>org.apache.activemq</groupId>
> <artifactId>activeio-core</artifactId>
> </exclusion>
> </exclusions>
> </dependency>
>
> See this thread for more info:
>
> http://www.nabble.com/ActiveMQ-5.0.0-depends-on-SNAPSHOT--to14986087s2354.html#a15009680
>
>
>
>
> deepak.kumar wrote:
> >
> > I just came here to say 'me too'
> >
> > Our maven builds were chugging along quite happily with the snapshot
> repo
> > until this morning as well.
> >
> > Where oh where did activeio-core 3.1-SNAPSHOT go?
> >
> > regards,
> > Deepak.
> >
> > toli wrote:
> >>
> >> Jason,
> >>
> >> Including the snapshot repo worked for me until this morning, when it
> >> started failing. Seems that the 3.1-SNAPSHOT is gone from the snapshot
> >> repo:
> >>
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/activeio/
> >>
> >> Any thoughts on when (and if) it's coming back?
> >>
> >> thanks.
> >>
> >
>
> --
> View this message in context:
> http://www.nabble.com/ActiveMQ---Maven---ActiveIO-tp14422739s2354p15748971.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>
Re: ActiveMQ - Maven - ActiveIO
Posted by toli <to...@marketcetera.com>.
Deepak,
After reading through the ActiveMQ lists it seems that the activeio-core is
not necessary at all.
So you can manually exclude the ativeio-core portion like this and
everything seems to work:
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-core</artifactId>
<version>5.0.0</version>
<exclusions>
<exclusion>
<groupId>org.apache.activemq</groupId>
<artifactId>activeio-core</artifactId>
</exclusion>
</exclusions>
</dependency>
See this thread for more info:
http://www.nabble.com/ActiveMQ-5.0.0-depends-on-SNAPSHOT--to14986087s2354.html#a15009680
deepak.kumar wrote:
>
> I just came here to say 'me too'
>
> Our maven builds were chugging along quite happily with the snapshot repo
> until this morning as well.
>
> Where oh where did activeio-core 3.1-SNAPSHOT go?
>
> regards,
> Deepak.
>
> toli wrote:
>>
>> Jason,
>>
>> Including the snapshot repo worked for me until this morning, when it
>> started failing. Seems that the 3.1-SNAPSHOT is gone from the snapshot
>> repo:
>> http://people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/activeio/
>>
>> Any thoughts on when (and if) it's coming back?
>>
>> thanks.
>>
>
--
View this message in context: http://www.nabble.com/ActiveMQ---Maven---ActiveIO-tp14422739s2354p15748971.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: ActiveMQ - Maven - ActiveIO
Posted by "deepak.kumar" <de...@gmail.com>.
I just came here to say 'me too'
Our maven builds were chugging along quite happily with the snapshot repo
until this morning as well.
Where oh where did activeio-core 3.1-SNAPSHOT go?
regards,
Deepak.
Jason,
Including the snapshot repo worked for me until this morning, when it
started failing. Seems that the 3.1-SNAPSHOT is gone from the snapshot repo:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/activeio/
Any thoughts on when (and if) it's coming back?
thanks.
--
View this message in context: http://www.nabble.com/ActiveMQ---Maven---ActiveIO-tp14422739s2354p15748498.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: ActiveMQ - Maven - ActiveIO
Posted by toli <to...@marketcetera.com>.
Jason,
Including the snapshot repo worked for me until this morning, when it
started failing. Seems that the 3.1-SNAPSHOT is gone from the snapshot repo:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/activeio/
Any thoughts on when (and if) it's coming back?
thanks.
Jason Anderson-3 wrote:
>
> it really seems like if the project depends on a snapshot, the apache
> snapshot repository should be in the pom
>
> as a workaround you can add it to your pom (or settings.xml or
> whatever) but it would be nice if this wasn't necessary
>
> <repositories>
> <repository>
> <id>apache-snaps</id>
> <name>apache snapshot repository</name>
>
> <url>http://people.apache.org/repo/m2-snapshot-repository</url>
> <releases>
> <enabled>false</enabled>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> </repository>
> </repository>
>
>
> On Dec 19, 2007 10:34 AM, Geoffrey Wiseman <ge...@gmail.com>
> wrote:
>> 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
>>
>
>
--
View this message in context: http://www.nabble.com/ActiveMQ---Maven---ActiveIO-tp14422739s2354p15744415.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: ActiveMQ - Maven - ActiveIO
Posted by Jason Anderson <xd...@maxexp.com>.
it really seems like if the project depends on a snapshot, the apache
snapshot repository should be in the pom
as a workaround you can add it to your pom (or settings.xml or
whatever) but it would be nice if this wasn't necessary
<repositories>
<repository>
<id>apache-snaps</id>
<name>apache snapshot repository</name>
<url>http://people.apache.org/repo/m2-snapshot-repository</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repository>
On Dec 19, 2007 10:34 AM, Geoffrey Wiseman <ge...@gmail.com> wrote:
> 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
>
Fwd: ActiveMQ - Maven - ActiveIO
Posted by Geoffrey Wiseman <ge...@gmail.com>.
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 <ge...@gmail.com>
Date: Dec 19, 2007 1:34 PM
Subject: ActiveMQ - Maven - ActiveIO
To: ActiveMQ Users <us...@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