Re: SUN Maven(2) repo changes? JMX, JMS, Mail, JMXTOOLS

2010-02-05 Thread Ognjen Blagojevic

It is already in JIRA [1], but the bug is still unresolved.

Apparently, Maven 2.2.0 handles HTTP 301 alright, but I didn't try it. 
Other versions, including 2.2.1, don't handle that well.


The bug priority is minor. Maybe it should be higher since it breaks 
recently created local repositories.


Regards,
Ognjen

[1] http://jira.codehaus.org/browse/MNG-4428


Johannes Schneider wrote:
I had a common problem with an invalid repository entry (wicketstuff). 
Maven seems to fail completely when a repository returns some html files 
(redirected I guess) instead of the expected poms



Johannes

Andy Jefferson wrote:
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



301 Moved Permanently

Moved Permanently
The document has moved href="http://download.java.net/maven/1/com.sun.jdmk/poms/jmxtools-1.2.1.pom";>here. 



Apache Server at maven-repository.dev.java.net Port 
443




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



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: SUN Maven(2) repo changes? JMX, JMS, Mail, JMXTOOLS

2010-02-04 Thread Johannes Schneider
I had a common problem with an invalid repository entry (wicketstuff). 
Maven seems to fail completely when a repository returns some html files 
(redirected I guess) instead of the expected poms



Johannes

Andy Jefferson wrote:

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



301 Moved Permanently

Moved Permanently
The document has moved http://download.java.net/maven/1/com.sun.jdmk/poms/jmxtools-1.2.1.pom";>here.

Apache Server at maven-repository.dev.java.net Port 443



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



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: SUN Maven(2) repo changes? JMX, JMS, Mail, JMXTOOLS

2010-02-04 Thread bernd . adamowicz
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  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
> 
> 
> 
> 301 Moved Permanently
> 
> Moved Permanently
> The document has moved http://download.java.net/maven/1/
> com.sun.jdmk/poms/jmxtools-1.2.1.pom">here.
> 
> Apache Server at maven-repository.dev.java.net Port 
443
> 
> 
> 
> 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