Actually scratch that question, the problem is definitely apache-only related as I can't even download the jar file correctly from my browser. Over to httpd.apache.org...

On 7 Oct 2005, at 23:24, Ashley Williams wrote:

Hi

This question straddles both Maven and Apache and I'm hoping that someone who has experience creating a local repository from scratch can offer some assistance.

The problem is when I try to build a project, the jars fail to download correctly with the message: [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '8133c6d39d1cc8cbb12441b5dbceb2d2'; remote = '10f8bc07b436d432b0ae64d21633e9c5' - IGNORING

The reason that I don't think the problem lies with Apache is that I already operate a svn repository from the same Apache server instance, although obviously I could be wrong. The pom files are downloaded fine but the jar files, as indicated by the error message, aren't and a jar tvf gives the following output:

  ....
3044 Mon Oct 03 15:55:46 BST 2005 javax/xml/bind/helpers/ DefaultValidationEventHandler.class 2792 Mon Oct 03 15:55:46 BST 2005 javax/xml/bind/helpers/ Messages.class
java.io.EOFException: Unexpected end of ZLIB input stream
at java.util.zip.InflaterInputStream.fill (InflaterInputStream.java:215) at java.util.zip.InflaterInputStream.read (InflaterInputStream.java:134)
        at java.util.zip.ZipInputStream.read(ZipInputStream.java:139)
at java.util.zip.ZipInputStream.closeEntry (ZipInputStream.java:91)
        at sun.tools.jar.Main.list(Main.java:744)
        at sun.tools.jar.Main.run(Main.java:192)
        at sun.tools.jar.Main.main(Main.java:904)

This happens consistently and I even changed to using mod_dav which gave the same results.

:/

For completeness here are my configs:
maven pom.xml...

        <repositories>
                <repository>
                        <id>agwilliams1000</id>
                        <url>http://myserver/maven/repository</url>
                </repository>
        </repositories>

apache httpd.conf...

Alias /maven/repository /Users/ashley/Webroot/maven/repository
<Directory /Users/ashley/Webroot/maven/repository>
    Options None
    AllowOverride None
    Order Allow,Deny
    Allow from all
</Directory>

Any ideas?

Thanks
AW

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

Reply via email to