You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Gwyn Connor (JIRA)" <ji...@apache.org> on 2015/08/27 18:02:46 UTC

[jira] [Updated] (MRM-1899) Artifact checksums not always generated for remote proxy

     [ https://issues.apache.org/jira/browse/MRM-1899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gwyn Connor updated MRM-1899:
-----------------------------
    Attachment: request-20150827.log
                archiva.log

> Artifact checksums not always generated for remote proxy
> --------------------------------------------------------
>
>                 Key: MRM-1899
>                 URL: https://issues.apache.org/jira/browse/MRM-1899
>             Project: Archiva
>          Issue Type: Bug
>          Components: remote proxy
>    Affects Versions: 2.2.0
>            Reporter: Gwyn Connor
>         Attachments: archiva.log, request-20150827.log
>
>
> Archiva sometimes does not create checksums (and metadata) for proxied POM-only artifacts from remote repository when they are downloaded for the first time. It downloads the .pom and writes the pom's content to .sha1 and .md5 files.
> Any tool using the checksum files will fail, because they do not contain checksums but are corrupt (i. e. they contain the XML content from the POM).
> Running a directory scan on the managed repository fixes the checksum files and creates the metadata.
> I can reproduce this behaviour everytime on an empty repository, when I try to download artifacts from Maven Central proxy with Gradle. I've attached the Archiva logs (with INFO level enabled). You can see that checksums for org/apache/apache/13/apache-13.pom are only created after manually starting a directory scan.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)