[
https://issues.apache.org/jira/browse/MRM-1878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Stockhammer updated MRM-1878:
------------------------------------
Fix Version/s: (was: 2.2.2)
3.1.0
> Duplicate artifacts consumer : search in all the repositories
> -------------------------------------------------------------
>
> Key: MRM-1878
> URL: https://issues.apache.org/jira/browse/MRM-1878
> Project: Archiva
> Issue Type: Improvement
> Components: repository scanning
> Affects Versions: 2.2.0
> Environment: all
> Reporter: Guimiot Isabelle
> Priority: Minor
> Fix For: 3.1.0
>
>
> Currently, it seems that duplcate-artifact consumer only seeks duplicate
> artifacts in the same repo, see the line below, from
> DuplicateArtifactsConsumer.java :
> {code}
> results = metadataRepository.getArtifactsByChecksum( repoId, checksumSha1 );
> {code}
> "repoId" is specified in the method's arguments, so it means that the result
> only contains identical artifacts from *this* repo ...
> When we have several repos (not only one "internal" and one "snapshots"), it
> would be really interested to look for duplications of the current artifact
> in all the "release" repos (if the artifact is a release), or in all the
> "snapshots" repos (if the artifact is a snapshot), not only in the repo of
> the current artifact.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)