You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by lanchez <ap...@purpleblade.net> on 2008/03/01 04:52:59 UTC
A new error message - never before seen
I decided to get started with this ActiveMQ (JMS) thing and created a simple
POM with one dependency.
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-core</artifactId>
<version>5.1-SNAPSHOT</version>
<scope>deploy</scope>
</dependency>
now when I do:
$mvn install
I get the following error message (see below)
I have the following rep in the POM xml file and checked out the dir
structure.
<repository>
<id>http://people.apache.org/repo/m2-snapshot-repository</id>
<name>Apache Repository for Maven2</name>
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
<layout>default</layout>
</repository>
This should work.
Error Message
---
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.apache.activemq:activemq-core
Reason: Error getting POM for 'org.apache.activemq:activemq-core' from the
repository: Unable to store local copy of metadata: Error
org.apache.activemq:activemq-core:pom:5.1-SNAPSHOT
for project org.apache.activemq:activemq-core
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Fri Feb 29 20:51:50 MST 2008
[INFO] Final Memory: 3M/7M
[INFO]
------------------------------------------------------------------------
---
--
View this message in context: http://www.nabble.com/A-new-error-message---never-before-seen-tp15772410s177p15772410.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: A new error message - never before seen
Posted by Wayne Fay <wa...@gmail.com>.
This is a better question for the ActiveMQ team.
Wayne
On 2/29/08, lanchez <ap...@purpleblade.net> wrote:
>
> Thanks, I just chose 5.1 because it was the latest. There are no files in
> the 5.0 directory. Where is the latest stable version?
>
> thanks
>
> Lisa
>
>
>
> lanchez wrote:
> >
> > I decided to get started with this ActiveMQ (JMS) thing and created a
> > simple POM with one dependency.
> >
> > <dependency>
> > <groupId>org.apache.activemq</groupId>
> > <artifactId>activemq-core</artifactId>
> > <version>5.1-SNAPSHOT</version>
> > <scope>deploy</scope>
> > </dependency>
> >
> > now when I do:
> > $mvn install
> >
> > I get the following error message (see below)
> >
> > I have the following rep in the POM xml file and checked out the dir
> > structure.
> >
> > <repository>
> > <id>http://people.apache.org/repo/m2-snapshot-repository</id>
> > <name>Apache Repository for Maven2</name>
> >
> > <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
> > <layout>default</layout>
> > </repository>
> >
> > This should work.
> >
> > Error Message
> > ---
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Error building POM (may not be this project's POM).
> >
> >
> > Project ID: org.apache.activemq:activemq-core
> >
> > Reason: Error getting POM for 'org.apache.activemq:activemq-core' from the
> > repository: Unable to store local copy of metadata: Error
> > org.apache.activemq:activemq-core:pom:5.1-SNAPSHOT
> >
> > for project org.apache.activemq:activemq-core
> >
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 1 second
> > [INFO] Finished at: Fri Feb 29 20:51:50 MST 2008
> > [INFO] Final Memory: 3M/7M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> >
> > ---
> >
>
> --
> View this message in context: http://www.nabble.com/A-new-error-message---never-before-seen-tp15772410s177p15772689.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: A new error message - never before seen
Posted by lanchez <ap...@purpleblade.net>.
Thanks, I just chose 5.1 because it was the latest. There are no files in
the 5.0 directory. Where is the latest stable version?
thanks
Lisa
lanchez wrote:
>
> I decided to get started with this ActiveMQ (JMS) thing and created a
> simple POM with one dependency.
>
> <dependency>
> <groupId>org.apache.activemq</groupId>
> <artifactId>activemq-core</artifactId>
> <version>5.1-SNAPSHOT</version>
> <scope>deploy</scope>
> </dependency>
>
> now when I do:
> $mvn install
>
> I get the following error message (see below)
>
> I have the following rep in the POM xml file and checked out the dir
> structure.
>
> <repository>
> <id>http://people.apache.org/repo/m2-snapshot-repository</id>
> <name>Apache Repository for Maven2</name>
>
> <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
> <layout>default</layout>
> </repository>
>
> This should work.
>
> Error Message
> ---
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: org.apache.activemq:activemq-core
>
> Reason: Error getting POM for 'org.apache.activemq:activemq-core' from the
> repository: Unable to store local copy of metadata: Error
> org.apache.activemq:activemq-core:pom:5.1-SNAPSHOT
>
> for project org.apache.activemq:activemq-core
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Fri Feb 29 20:51:50 MST 2008
> [INFO] Final Memory: 3M/7M
> [INFO]
> ------------------------------------------------------------------------
>
>
> ---
>
--
View this message in context: http://www.nabble.com/A-new-error-message---never-before-seen-tp15772410s177p15772689.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: A new error message - never before seen
Posted by Wayne Fay <wa...@gmail.com>.
<scope>deploy</scope> is not valid. You probably want scope compile,
or provided.
Also, are you sure you want to use a SNAPSHOT version? Is there
something in 5.1-SNAPSHOT that you require, or are you simply using it
because it seems to be the latest and greatest? If so, specify
something from 5.0 which has been released with a proper version for
more stability in your build etc.
Wayne
On 2/29/08, lanchez <ap...@purpleblade.net> wrote:
>
> I decided to get started with this ActiveMQ (JMS) thing and created a simple
> POM with one dependency.
>
> <dependency>
> <groupId>org.apache.activemq</groupId>
> <artifactId>activemq-core</artifactId>
> <version>5.1-SNAPSHOT</version>
> <scope>deploy</scope>
> </dependency>
>
> now when I do:
> $mvn install
>
> I get the following error message (see below)
>
> I have the following rep in the POM xml file and checked out the dir
> structure.
>
> <repository>
> <id>http://people.apache.org/repo/m2-snapshot-repository</id>
> <name>Apache Repository for Maven2</name>
> <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
> <layout>default</layout>
> </repository>
>
> This should work.
>
> Error Message
> ---
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: org.apache.activemq:activemq-core
>
> Reason: Error getting POM for 'org.apache.activemq:activemq-core' from the
> repository: Unable to store local copy of metadata: Error
> org.apache.activemq:activemq-core:pom:5.1-SNAPSHOT
>
> for project org.apache.activemq:activemq-core
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Fri Feb 29 20:51:50 MST 2008
> [INFO] Final Memory: 3M/7M
> [INFO]
> ------------------------------------------------------------------------
>
>
> ---
> --
> View this message in context: http://www.nabble.com/A-new-error-message---never-before-seen-tp15772410s177p15772410.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org