maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Hammar <and...@hammar.net>
Subject Re: Failing to check the content type of downloaded items
Date Tue, 06 Oct 2015 13:42:44 GMT
That ticket is not about the root cause I think.

/Anders (mobile)
Den 6 okt 2015 15:36 skrev "Michael Osipov" <1983-01-06@gmx.net>:

>
>
> > Gesendet: Dienstag, 06. Oktober 2015 um 13:48 Uhr
> > Von: "Benson Margulies" <bimargulies@gmail.com>
> > An: "Maven Developers List" <dev@maven.apache.org>
> > 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: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message