I'm +1 to take this.
On Tue, Oct 6, 2015 at 9:36 AM, Michael Osipov <[email protected]> wrote: > > >> Gesendet: Dienstag, 06. Oktober 2015 um 13:48 Uhr >> Von: "Benson Margulies" <[email protected]> >> An: "Maven Developers List" <[email protected]> >> Betreff: Failing to check the content type of downloaded items >> >> I'm getting more than a little weary of Maven going to download an >> artifact, receiving some HTML error page, and storing that as the >> artifact, instead of treating the inappropriate HTTP content type as >> equivalent to NOT FOUND. Is there a JIRA for this, to anyone's >> knowledge? I'm frustrated enough to work on it. > > Yes, there is: https://issues.apache.org/jira/browse/MNG-5728 > > I have obstained to merge this in a patch version. If no one minds I can do > this of course. > > Michael > >> ------ >> [INFO] [ERROR] Plugin org.apache.maven.plugins:maven-source-plugin:2.3 >> or one of its dependencies could not be resolved: Failed to read >> artifact descriptor for >> org.apache.maven.plugins:maven-source-plugin:jar:2.3: 1 problem was >> encountered while building the effective model >> [INFO] [ERROR] [FATAL] Non-parseable POM >> /home/benson/.m2/repository/org/apache/maven/plugins/maven-source-plugin/2.3/maven-source-plugin-2.3.pom: >> entity reference name can not contain character =' (position: >> START_TAG seen >> ...ven/plugins/maven-source-plugin/2.3/maven-source-plugin-2.3.pom&t=... >> @1:214) @ line 1, column 214 >> >> cat >> /home/benson/.m2/repository/org/apache/maven/plugins/maven-source-plugin/2.3/maven-source-plugin-2.3.pom >> <html><head><meta http-equiv="refresh" >> content="0;url=http://searchguide.level3.com/search/?q=http://snapshots.repository.codehaus.org/org/apache/maven/plugins/maven-source-plugin/2.3/maven-source-plugin-2.3.pom&t=0"/></head><body><script>window.location="http://searchguide.level3.com/search/?q="+escape(window.location)+"&r="+escape(document.referrer)+"&t=0";</script></body></html>% >> >> --------------------------------------------------------------------- >> 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]
