Others have reported similar problems with wget. Without knowing this
for certain, I would assume that the repo1 owners simply do not like
people using wget to pull their entire repo down, so they might be
blocking it somehow. I believe the Maven website instructs people to
use rsync if they want to pull down their own copy of the repo (its
well over 10gb at this point, I'm sure).

It looks like your running a *nix, but can you tell us specifically
what OS, JDK version, Maven version, etc? We've had Windows users run
into similar problems who were having troubles due to overzealous
antivirus software, etc.

Wayne

On 8/1/07, Paul Smith <[EMAIL PROTECTED]> wrote:
> This has happened before, and then appeared to magically resolve
> itself, but it's quite sticky at the moment.
>
> It seems to stem from this weirdness. Given a URL on the central Repo:
>
> http://repo1.maven.org/maven2/org/apache/maven/maven/2.0.6/
> maven-2.0.6.pom
>
> 1) I can browse using Firefox - OK
> 2) I can use command line 'curl' to view (curl http://repo1.maven.org/
> maven2/org/apache/maven/maven/2.0.6/maven-2.0.6.pom)
> 3) I CANNOT use 'wget' to retrieve it (wget http://repo1.maven.org/
> maven2/org/apache/maven/maven/2.0.6/maven-2.0.6.pom)
>
>
> wget reports 403 Forbidden:
>
> [EMAIL PROTECTED] tmp]$ wget http://repo1.maven.org/maven2/org/apache/
> maven/maven/2.0.4/maven-2.0.4.pom-2.0.4.pom
> --15:37:16--  http://repo1.maven.org/maven2/org/apache/maven/maven/
> 2.0.4/maven-2.0.4.pom
>            => `maven-2.0.4.pom'
> Resolving repo1.maven.org... 63.246.20.112
> Connecting to repo1.maven.org|63.246.20.112|:80... connected.
> HTTP request sent, awaiting response... 403 Forbidden
> 15:37:18 ERROR 403: Forbidden.
>
> [EMAIL PROTECTED] tmp]$ wget http://repo1.maven.org/maven2/org/apache/
> maven/maven/2.0.6/maven-2.0.6.pom
> --15:38:22--  http://repo1.maven.org/maven2/org/apache/maven/maven/
> 2.0.6/maven-2.0.6.pom
>            => `maven-2.0.6.pom'
> Resolving repo1.maven.org... 63.246.20.112
> Connecting to repo1.maven.org|63.246.20.112|:80... connected.
> HTTP request sent, awaiting response... 403 Forbidden
> 15:38:22 ERROR 403: Forbidden.
>
> [
>
> I think this is why our Archiva repo says this:
>
> 337271615 [SocketListener0-0] ERROR
> org.apache.maven.archiva.policies.PreDownloadPolicy:cache-failures -
> Unknown checksum policyCode [cache]
> 337271615 [SocketListener0-0] INFO
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default -
> Failed pre-download policies - /volume2/maven2/org/apache/maven/maven/
> 2.0.6/maven-2.0.6.pom
> 337273843 [SocketListener0-0] WARN
> org.apache.maven.archiva.policies.PostDownloadPolicy:checksum - SHA1
> is incorrect for /volume2/maven2/org/apache/maven/maven/2.0.6/
> maven-2.0.6.pom
> 337273843 [SocketListener0-0] WARN
> org.apache.maven.archiva.policies.PostDownloadPolicy:checksum - MD5
> is incorrect for /volume2/maven2/org/apache/maven/maven/2.0.6/
> maven-2.0.6.pom
> 337273843 [SocketListener0-0] INFO
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default -
> Failed post-download policies - /volume2/maven2/org/apache/maven/
> maven/2.0.6/maven-2.0.6.pom
>
>
> And why when I temporarily remove the mirror settings to archiva and
> manually move an originally downloaded 2.0.6 set of pom details, I
> still get this:
> ....
> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
> '1991be0ed3e1820e135201406d5acabf8c08d426'; remote =
> '218016709d90d14b64bfb1de3a86a2247e8873db' - RETRYING
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven/
> 2.0.6/maven-2.0.6.pom
> 8K downloaded
> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
> '1991be0ed3e1820e135201406d5acabf8c08d426'; remote =
> '218016709d90d14b64bfb1de3a86a2247e8873db' - IGNORING
>
>
>
> Is there something wacky with the repository?  It seems to eventually
> go away.
>
> Paul Smith
> Core Engineering Manager
>
> Aconex
> The easy way to save time and money on your project
>
> 696 Bourke Street, Melbourne,
> VIC 3000, Australia
> Tel: +61 3 9240 0200  Fax: +61 3 9240 0299
> Email: [EMAIL PROTECTED]  www.aconex.com
>
> This email and any attachments are intended solely for the addressee.
> The contents may be privileged, confidential and/or subject to
> copyright or other applicable law. No confidentiality or privilege is
> lost by an erroneous transmission. If you have received this e-mail
> in error, please let us know by reply e-mail and delete or destroy
> this mail and all copies. If you are not the intended recipient of
> this message you must not disseminate, copy or take any action in
> reliance on it. The sender takes no responsibility for the effect of
> this message upon the recipient's computer system.
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to