archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Isabelle Guimiot <isabelle.guim...@gmail.com>
Subject Re: duplicate artifacts consumer : cross repositories ?
Date Mon, 23 Mar 2015 10:20:08 GMT
New jira here : https://jira.codehaus.org/browse/MRM-1878 :)

2015-03-23 0:49 GMT+01:00 Olivier Lamy <olamy@apache.org>:

> On 18 March 2015 at 01:37, Isabelle Guimiot <isabelle.guimiot@gmail.com>
> wrote:
>
> > Hi,
> >
> > I'm currently playing with Archiva 2.2, and I was having a look at the
> > duplicate artifact consumer : it seems that it only seeks duplicate
> > artifacts in the same repo, see the line below, from
> > DuplicateArtifactsConsumer.java :
> >
> > results = metadataRepository.getArtifactsByChecksum( repoId, checksumSha1
> > );
> >
> > "repoId" is specified in the method's arguments, so I suppose that the
> > result only contains artifacts from this repo ...
> >
> > Obviously, it's better than nothing, but in my configuration, I have a
> > "proxy-repo" connected to maven central and other Internet repos, and I
> use
> > the internal repos (releases + snapshots) only for the artifacts that our
> > users deploy through their maven builds.
> >
> > The duplicate artifact consumer would be really helpful for me, to
> identify
> > the naughty users that deploy open source jars in our internal repo.
> >
> > But if the consumer doesn't make a cross repo research, I won't find out
> > the open source jars that are both in the proxy-repo and in our internal
> > releases repo. Do you think it would be possible to improve this for a
> > future version ? Do you want me to create a jira ?
> >
>
> Yes sounds an acceptable improvement :-)
> A jira entry would be nice.
>
> Thanks
> Olivier
>
>
> >
> > Thank you !
> >
> > Isabelle
> >
>
>
>
> --
> Olivier Lamy
> http://twitter.com/olamy | http://linkedin.com/in/olamy
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message