John, As you can see the maven repo on java.net has started redirecting :(
Please create a settings.xml see details on where to create the file here: http://maven.apache.org/settings.html The content of the file should be: <settings> <mirrors> <mirror> <id>java.net.2</id> <name>java.net Mirror of http://repo1.maven.org/maven2/</name> <url>http://download.java.net/maven/2/</url> <mirrorOf>java.net</mirrorOf> </mirror> </mirrors> </settings> thanks, dims On 11/10/2009 07:13 AM, John Francis wrote:
Does the axis2-1.4.1 src build work? With what version of maven? If it does what am I doing wrong? Thanks, details follow... I am developing with axis2-1.4.1 in order to use Eclipse axis plugins. ( I de3installed 1.5.1 ) I am building on Windows Server 2008 x64. I am trying to build the axis2-1.4 source release ( outside of Eclipse ) using maven. I had problems with the latest release of maven so moved to apache-maven-2.0.10, as another post recommended this. I am still having problems. I have followed the maven install instructions and the axis build instructions. It would appear that when I run mvn install and maven attempts to download various components it is having problems; ( The following is just one set of problems relating to commons-httpclient, buit there are more with the same pattern ) Downloading: https://maven-repository.dev.java.net/nonav/repository//commons-httpclient/p oms/commons-httpclient-3.1.pom 371b downloaded [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '402c45f736161f8d5a937f872c83fc014f6e5eae'; remote = '<!DOCTYPE' - RETRYING Downloading: https://maven-repository.dev.java.net/nonav/repository//commons-httpclient/p oms/commons-httpclient-3.1.pom 371b downloaded [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '402c45f736161f8d5a937f872c83fc014f6e5eae'; remote = '<!DOCTYPE' - IGNORING .... [WARNING] POM for 'commons-httpclient:commons-httpclient:pom:3.1:compile' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project commons-httpclient:commons-httpclient at C:\Users\Administrator\.m2\repository\commons-httpclient\commons-httpclient\ 3.1\commons-httpclient-3.1.pom ... error: error reading C:\Users\Administrator\.m2\repository\commons-httpclient\commons-httpclient\ 3.1\commons-httpclient-3.1.jar; error in opening zip file ... When I look in the POMs I find... <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>301 Moved Permanently</title> </head><body> <h1>Moved Permanently</h1> <p>The document has moved<a href="http://download.java.net/maven/1/commons-httpclient/poms/commons-httpc lient-3.1.pom" <http://download.java.net/maven/1/commons-httpclient/poms/commons-httpclient -3.1.pom> >here</a>.</p> <hr> <address>Apache Server at maven-repository.dev.java.net Port 443</address> </body></html> and ofcourse the accompanying zip is not valid< 1K. ---------------------------------------------------------------------------- -------------- This message is private and confidential. If you have received this message in error, please notify postmas...@his.co.uk and remove it from your system. Please carry out your own virus check before opening attachments. HISL Limited is a limited company registered in England and Wales. Registered Number: 3202995. VAT number: 729-6256-05. Registered Office: Chestnut Farm, Jill Lane, Sambourne, Redditch B96 6ES ---------------------------------------------------------------------------- --------------