<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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
