[Yanel-dev] Re: [Dev] Maven repo dupes

Mehmet Birgi mehmet.birgi at wyona.com
Wed Mar 31 14:28:01 CEST 2010


Thanks for all the feedback. As this is low priority, I might get back to it
later, but I will not pursue this issue at the moment.

Cheers,

Memo



2010/3/31 Guillaume D=E9flache <guillaume.deflache at wyona.com>

> [This message just came on one internal Wyona mailing-lists, answering it
> here as it is of general interest: ]
>
> Mehmet Birgi schrieb:
>
> > Yesterday, while we were looking for the jakarta-commons-io lib to use,
> Guillaume noticed that this library is included twice, namely in:
> >
> >
> /Users/memo/.m2/repository/apache-jakarta-commons/apache-jakarta-commons-=
io/1.2/apache-jakarta-commons-io-1.2.jar
> > /Users/memo/.m2/repository/commons-io/commons-io/1.2/commons-io-1.2.jar
>
> I previously found a statement in the jakarta-commons mailing-list about
> what is the now recommended form (I do not really remember which one so I
> won't risk a guess) and a rationale for it, I'll try to dig it up at home.
>
>
>
> > As they are both the same version, one of them should be enough. There
> may be other dupes, we didn't search for them. The bug
> http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=3D7006 also se=
ems
> to be remotely related to this. Would it be worth the effort to
>
> It is indeed related to this. The cleanup explained below is made as part
> of http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=3D6896
>
>
>
> > try to clean out the maven repository? Or should I just enter a new P2
>
> To sum it up is not really our or Maven's central repositories that are
> "dirty", it's rather the dependencies metadata that do not cater for rena=
mes
> of the groupId/artifactId couples during the life of a library.
> Cleaning that would probably remove all "duplicate librairies", but it is=
 a
> long term task and not a very high priority ATM I think.
>
>
>
> > bug and "forget about it" for now?
>
> No need to enter another bug.
> You can forget about it for now as an application developer as the only
> real way to try to fix this is to clean up the dependency tree starting f=
rom
> its "leaves".
> For now only wyona-commons has been cleaned up (see r45585 on <
> http://svn.wyona.com/repos/public/>), next target up the tree is yarep.
> I had already started on that so please coordinate with us on this list if
> you want to work on that.
>
>
> HTH,
>   Guillaume
> --
> Yanel-development mailing list Yanel-development at wyona.com
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>



-- =

Mehmet Birgi
www.wyona.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wyona.org/pipermail/yanel-development/attachments/2010033=
1/fb391cc2/attachment.htm


More information about the Yanel-development mailing list