Hello, Lately I have noticed that while building, maven is downloading its dependencies, but once in a while, an artifact will come over incorrectly (I suspect a bad mirror somewhere). For instance, if I look at the contents of ~/.m2/repository/cglib/cglib-full/2.0.2/cglib-full-2.0.2.jar I see -
cat /home/wesw/.m2/repository/cglib/cglib-full/2.0.2/cglib-full-2.0.2.jar <!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/2/cglib/cglib-full/2.0.2/cglib-full-2.0.2.jar">here</a>.</p> <hr> <address>Apache Server at maven2-repository.dev.java.net Port 443</address> </body></html> It is helpful that they tell me where to find it, but how can I make maven understand that? -Wes -- Wes Wannemacher Author - Struts 2 In Practice Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more http://www.manning.com/wannemacher --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
