We had the same problem with, I guess, a Fornax repository a few months 
ago and it was terrible. Question to Maven developers: Wouldn't  it be 
possible to treat a 301 (redirect) error the same way as a 40x error? This 
would prevent the POMs from beeing corrupted.

Bernd


Andy Jefferson <andy_jeffer...@yahoo.com> wrote on 04.02.2010 11:47:13:

> [image removed] 
> 
> SUN Maven(2) repo changes? JMX, JMS, Mail, JMXTOOLS
> 
> Andy Jefferson 
> 
> to:
> 
> users
> 
> 04.02.2010 11:58
> 
> Please respond to "Maven Users List"
> 
> For the last few hours I've been getting issues with Maven2 
> downloading jars/poms for the following SUN jars
> 
> jmxtools-1.2.1
> jmxri-1.2.1
> mail-1.4
> jms-1.1
> 
> Maven2 goes off to, for example,
> 
> https://maven-repository.dev.java.net/nonav/repository/com.sun.jmx/
> poms/jmxri-1.2.1.pom
> 
> which replies with HTML as follows
> 
> <!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/
> com.sun.jdmk/poms/jmxtools-1.2.1.pom">here</a>.</p>
> <hr>
> <address>Apache Server at maven-repository.dev.java.net Port 
443</address>
> </body></html>
> 
> 
> which is promptly stored in my local M2 repo as XXX.pom, and hell 
> follows after ...
> 
> 
> The location referred to in this file doesn't exist either.
> 
> Can somebody who knows the people in charge of SUN's M2 repo please 
> advise them of this.
> 
> --
> Andy
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 



InterComponentWare AG:  
Vorstand: Peter Kirschbauer (Vors.), Jörg Stadler / Aufsichtsratsvors.: Prof. 
Dr. Christof Hettich  
Firmensitz: 69190 Walldorf, Industriestraße 41 / AG Mannheim HRB 351761 / 
USt.-IdNr.: DE 198388516  

Reply via email to