You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ard Schrijvers <a....@hippo.nl> on 2006/08/20 12:31:02 UTC
watch out with mirror http://apache.cs.uu.nl/
Hello,
everybody using mirror http://apache.cs.uu.nl/ in his maven build.properties should be aware of downloading wrong jars. There seem to be strange rewrite rules configured, which rewrites you a couple of times when you want to download certain jakarta jars, and then just downloads http://jakarta.apache.org/site/downloads/index.html. You end up with hard to solve problems because of nonsense jars just containing an html page.
For example:
http://apache.cs.uu.nl/dist/jakarta/jakarta-slide
http://apache.cs.uu.nl/dist/jakarta/jakarta-bcel
http://apache.cs.uu.nl/dist/jakarta/jakarta-bsf
I did not test further, but it seems that jakarta projects, from which the jars are not present in apache.cs.uu.nl, are redirected, instead of returning a 404. If you for example have the dependency
<dependency>
<id>jakarta-slide:slide-stores</id>
<version>a-random-version-here</version>
</dependency>
and you have the mirror http://apache.cs.uu.nl/, it will downlad "the" jar because you are redirected. I told everybody with whom I am developing to directly remove this mirror.
Regards Ard
Ps: How can we inform the right people that this flaw gets fixed? If you can't rely on mirrors to return the right jars, we really end up in unmanageable situations.
--
Hippo
Oosteinde 11
1017WT Amsterdam
The Netherlands
Tel +31 (0)20 5224466
-------------------------------------------------------------
a.schrijvers@hippo.nl / http://www.hippo.nl
--------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: watch out with mirror http://apache.cs.uu.nl/
Posted by Jorg Heymans <jh...@domek.be>.
On 20 Aug 2006, at 12:31, Ard Schrijvers wrote:
> everybody using mirror http://apache.cs.uu.nl/ in his maven
> build.properties should be aware of downloading wrong jars. There
> seem to be strange rewrite rules configured, which rewrites you a
> couple of times when you want to download certain jakarta jars, and
> then just downloads http://jakarta.apache.org/site/downloads/
> index.html. You end up with hard to solve problems because of
> nonsense jars just containing an html page.
>
> For example:
> http://apache.cs.uu.nl/dist/jakarta/jakarta-slide
> http://apache.cs.uu.nl/dist/jakarta/jakarta-bcel
> http://apache.cs.uu.nl/dist/jakarta/jakarta-bsf
>
That's odd.
You can try contacting dev@maven.a.o, but my experience from the past
shows that they don't seem to care much about what mirrors do. Best
bet probably is to contact the mirror admins.
> I did not test further, but it seems that jakarta projects, from
> which the jars are not present in apache.cs.uu.nl, are redirected,
> instead of returning a 404. If you for example have the dependency
>
> <dependency>
> <id>jakarta-slide:slide-stores</id>
> <version>a-random-version-here</version>
> </dependency>
Just to set things clear, this is a maven1-only repo right ?
Jorg
Re: watch out with mirror http://apache.cs.uu.nl/
Posted by Sandor Spruit <sa...@cs.uu.nl>.
Ard Schrijvers wrote:
> Hello,
>
> everybody using mirror http://apache.cs.uu.nl/ in his maven build.properties should be aware of downloading wrong jars. There seem to be strange rewrite rules configured, which rewrites you a couple of times when you want to download certain jakarta jars, and then just downloads http://jakarta.apache.org/site/downloads/index.html. You end up with hard to solve problems because of nonsense jars just containing an html page.
>
[snip]
> Ps: How can we inform the right people that this flaw gets fixed? If you can't rely on mirrors to return the right jars, we really end up in unmanageable situations.
>
I'll tell them first thing tomorrow morning, over coffee :)
Cheers,
Sandor
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: watch out with mirror http://apache.cs.uu.nl/
Posted by Sandor Spruit <sa...@cs.uu.nl>.
Ard Schrijvers wrote:
> Hello,
>
> everybody using mirror http://apache.cs.uu.nl/ in his maven build.properties should be aware of downloading wrong jars. There seem to be strange rewrite rules configured, which rewrites you a couple of times when you want to download certain jakarta jars, and then just downloads http://jakarta.apache.org/site/downloads/index.html. You end up with hard to solve problems because of nonsense jars just containing an html page.
>
[snip]
> Ps: How can we inform the right people that this flaw gets fixed? If you can't rely on mirrors to return the right jars, we really end up in unmanageable situations.
>
I'll tell them first thing tomorrow morning, over coffee :)
Cheers,
Sandor