The maven 2 build should work.
Unfortunately, some public repos are down and a maven 2 bug prevents
downloading the jars from other repos.
As a workaround, you can define mirrors in your ~/.m2/settings.xml:

<settings>
 <mirrors>
   <mirror>
     <id>mergere.com</id>
     <name>Mergere Repository</name>
     <url>http://repo.mergere.com/maven2</url>
     <mirrorOf>central</mirrorOf>
   </mirror>
   <mirror>
     <id>mergere.com</id>
     <name>Mergere Repository</name>
     <url>http://repo.mergere.com/maven2</url>
     <mirrorOf>snapshots</mirrorOf>
   </mirror>
   <mirror>
     <id>mergere.com</id>
     <name>Mergere Repository</name>
     <url>http://repo.mergere.com/maven2</url>
     <mirrorOf>codehaus</mirrorOf>
   </mirror>
 </mirrors>
</settings>

Cheers,
Guillaume Nodet

On 5/15/06, markpittsnh <[EMAIL PROTECTED]> wrote:

Can someone comment on why both maven 1 and maven 2 builds are failing for
me? I have the latest source checked out by running 'svn up'.

TO recap, my maven 1 issues....

Attempting to download servicemix-components-3.0-SNAPSHOT.jar.
Error retrieving artifact from [
http://dist.codehaus.org/incubator-servicemix/jars/servicemix-components-3.0-SNAPSHOT.jar]:
java.net.ConnectException: Connection refused: connect
Error retrieving artifact from [
http://servicemix.org/maven-repo/incubator-servicemix/jars/servicemix-components-3.0-SNAPSHOT.jar]:
java.io.IOException: Forbidden.
Error retrieving artifact from [
http://repo.livetribe.org/maven1/incubator-servicemix/jars/servicemix-components-3.0-SNAPSHOT.jar]:
java.net.ConnectException: Connection refused: connect

...and maven 2 issues....


[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: incubator-activemq:activeio-core

Reason: Error getting POM for 'incubator-activemq:activeio-core' from the
repository: Error transferring file
  incubator-activemq:activeio-core:pom:3.0-beta2

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  servicemix-m2-repo (http://servicemix.org/m2-repo),
  apache.snapshots (http://svn.apache.org/maven-snapshot-repository)


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 27 seconds
[INFO] Finished at: Mon May 15 11:51:40 EDT 2006
[INFO] Final Memory: 6M/12M
[INFO]
------------------------------------------------------------------------

C:\java\sm2\trunk>

Thanks and regards,
Mark
--
View this message in context: 
http://www.nabble.com/snapshot-3.0-fails-to-build-with-maven-t1607713.html#a4394698
Sent from the ServiceMix - User forum at Nabble.com.




--
Cheers,
Guillaume Nodet

Reply via email to