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: 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

Reply via email to