Try this ... <mirrors> <mirror> <id>codehaus snapshot mirror</id> <name>Mirror site of Codehaus</name> <url>http://repo1.maven.org/maven2</url> <mirrorOf>snapshots</mirrorOf> </mirror> <mirror> <id>codehaus mirror</id> <name>Mirror Site of Codehaus</name> <url>http://repo1.maven.org/maven2</url> <mirrorOf>codehaus</mirrorOf> </mirror> </mirrors>
On 5/16/06, Michael Heinen <[EMAIL PROTECTED]> wrote:
Thanks for your answer. I added your mirror. mvn install fails now a few steps later: [INFO] Building Master POM [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------- --- Downloading: http://dist.codehaus.org/org.mortbay.jetty/jars/servlet-api-2.5-6.0 .0beta12.jar [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Error transferring file org.mortbay.jetty:servlet-api-2.5:jar:6.0.0beta12 from the specified remote repositories: central (http://repo1.maven.org/maven2), codehaus (http://dist.codehaus.org), apache.snapshots (http://svn.apache.org/maven-snapshot-repository), snapshots (http://snapshots.maven.codehaus.org/maven2) Path to dependency: 1) org.apache.maven.plugins:maven-site-plugin:maven-plugin:2.0-beta-5 2) org.mortbay.jetty:jetty:jar:6.0.0beta12 3) org.mortbay.jetty:servlet-api-2.5:jar:6.0.0beta12 Caused by I/O exception: Connection refused: connect [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3 seconds [INFO] Finished at: Tue May 16 15:09:01 CEST 2006 [INFO] Final Memory: 4M/8M [INFO] ------------------------------------------------------------------------ Any help is appreciated again Michael ________________________________ From: Zhi [mailto:[EMAIL PROTECTED] Sent: Dienstag, 16. Mai 2006 15:01 To: MyFaces Discussion Cc: Murat Hazer; Michael Heinen Subject: Re: Re: Error transferring file when build with maven. I got the answer from Maven users mail list. The solution is tell maven to use another a mirror site like this, <maven location>/conf/settings.xml <settings> ... <mirrors> ... <mirror> <id>codehaus mirror</id> <name>Mirror site of Codehaus</name> <url>http://repo.mergere.com/maven2</url> <mirrorOf>snapshots</mirrorOf> </mirror> ... </mirrors> ... </settings> Here is the thread explains, http://www.nabble.com/Error-updating-2.0.4-plugins-t1625800.html > 2006/5/16, Emmanuel Venisse <[EMAIL PROTECTED]>: > > > > codehaus.org is temporarily down so request on it generate an error. > > > > A temporary solution is to define a mirror of > > snapshots.maven.codehaus.orgto repo1.maven.org until codehaus.org is > > back George ----- Original Message ----- From: Murat Hazer To: MyFaces Discussion Sent: Tuesday, May 16, 2006 3:47 PM Subject: Re: Error transferring file when build with maven. if your job is urgent and only need jar files i can send them (i just built) On 5/16/06, Michael Heinen <[EMAIL PROTECTED] > wrote: I tried „mvn clean" before „mvn install". "mvn install" still fails with the same message. Any other idea ? I spent now a lot of hours to get the sources into eclipse and build it with maven but it doesn't work. This procedure is really a little bit annoying. Michael ________________________________ From: Murat Hazer [mailto:[EMAIL PROTECTED] Sent: Dienstag, 16. Mai 2006 09:36 To: MyFaces Discussion Subject: Re: Error transferring file when build with maven. i had the same problem, i run mvn clean before mvn install everthing worked fine. regards... On 5/16/06, Michael Heinen < [EMAIL PROTECTED]> wrote: I have the same problem this morning. mvn install downloads a lot of files but fails at the same step as mentioned below. -----Original Message----- From: Zhi [mailto: [EMAIL PROTECTED] Sent: Dienstag, 16. Mai 2006 05:16 To: MyFaces Discussion Subject: Error transferring file when build with maven. Dears, I successfully checkouted the files from respository just now. But when I started building, build error arised. Does this caused by SVN or MAVEN site down? Any help would be greatly appreciated. George

