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
<!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: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]