[Yanel-dev] Re: [Dev] Maven repo dupes
Mehmet Birgi
mehmet.birgi at wyona.com
Thu Apr 1 12:01:18 CEST 2010
sorry, here is the wholw dependencies block, might make more sense:
dependencies:
[artifact:dependencies] Downloading:
commons-io/commons-io/1.2/commons-io-1.2.pom from wyona.remote.repository
[artifact:dependencies] Downloading:
commons-io/commons-io/1.2/commons-io-1.2.pom from central
[artifact:dependencies] Downloading:
apache-jakarta-commons/apache-jakarta-commons-discovery/0.2/apache-jakarta-=
commons-discovery-0.2.pom
from wyona.remote.repository
[artifact:dependencies] Transferring 0K from wyona.remote.repository
[artifact:dependencies] Downloading:
apache-jakarta-commons/apache-jakarta-commons-id/0.1-dev-lcr357257/apache-j=
akarta-commons-id-0.1-dev-lcr357257.pom
from wyona.remote.repository
[artifact:dependencies] Transferring 0K from wyona.remote.repository
[artifact:dependencies] Downloading:
apache-jakarta-commons/apache-jakarta-commons-logging/1.0.4/apache-jakarta-=
commons-logging-1.0.4.pom
from wyona.remote.repository
[artifact:dependencies] Transferring 0K from wyona.remote.repository
[artifact:dependencies] Downloading:
apache-jakarta-commons/apache-jakarta-commons-io/1.2/apache-jakarta-commons=
-io-1.2.pom
from wyona.remote.repository
[artifact:dependencies] Transferring 0K from wyona.remote.repository
[artifact:dependencies] Downloading:
commons-io/commons-io/1.2/commons-io-1.2.jar from wyona.remote.repository
[artifact:dependencies] Downloading:
commons-io/commons-io/1.2/commons-io-1.2.jar from central
[artifact:dependencies] Downloading:
apache-jakarta-commons/apache-jakarta-commons-discovery/0.2/apache-jakarta-=
commons-discovery-0.2.jar
from wyona.remote.repository
[artifact:dependencies] Transferring 70K from wyona.remote.repository
[artifact:dependencies] Downloading:
apache-jakarta-commons/apache-jakarta-commons-id/0.1-dev-lcr357257/apache-j=
akarta-commons-id-0.1-dev-lcr357257.jar
from wyona.remote.repository
[artifact:dependencies] Transferring 53K from wyona.remote.repository
[artifact:dependencies] Downloading:
apache-jakarta-commons/apache-jakarta-commons-logging/1.0.4/apache-jakarta-=
commons-logging-1.0.4.jar
from wyona.remote.repository
[artifact:dependencies] Transferring 37K from wyona.remote.repository
[artifact:dependencies] Downloading:
apache-jakarta-commons/apache-jakarta-commons-io/1.2/apache-jakarta-commons=
-io-1.2.jar
from wyona.remote.repository
[artifact:dependencies] Transferring 64K from wyona.remote.repository
On Thu, Apr 1, 2010 at 11:56 AM, Mehmet Birgi <mehmet.birgi at wyona.com>wrote:
> OK, I have attached the build.log, and the important lines seem to be
> those:
>
> [artifact:dependencies] Downloading:
> commons-io/commons-io/1.2/commons-io-1.2.pom from wyona.remote.repository
> [artifact:dependencies] Downloading:
> commons-io/commons-io/1.2/commons-io-1.2.pom from central
> [artifact:dependencies] Downloading:
> apache-jakarta-commons/apache-jakarta-commons-io/1.2/apache-jakarta-commo=
ns-io-1.2.pom
> from wyona.remote.repository
> [artifact:dependencies] Downloading:
> commons-io/commons-io/1.2/commons-io-1.2.jar from wyona.remote.repository
> [artifact:dependencies] Downloading:
> commons-io/commons-io/1.2/commons-io-1.2.jar from central
> [artifact:dependencies] Downloading:
> apache-jakarta-commons/apache-jakarta-commons-io/1.2/apache-jakarta-commo=
ns-io-1.2.jar
> from wyona.remote.repository
>
> can anybody tell what the problem is?
>
>
>
>
> On Wed, Mar 31, 2010 at 2:51 PM, Michael Wechner <
> michael.wechner at wyona.com> wrote:
>
>> Mehmet Birgi wrote:
>>
>>> 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.
>>>
>>
>> I would like you to spend 15 minutes on this. Please give the debugging
>> approach as I suggested a try and also please
>> add a bugzilla entry, because these ambiguities can lead to problems and
>> hence we better get it documented it at least.
>>
>> Thanks
>>
>> Michi
>>
>>>
>>> Cheers,
>>>
>>> Memo
>>>
>>>
>>>
>>> 2010/3/31 Guillaume D=E9flache <guillaume.deflache at wyona.com <mailto:
>>> 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-commo=
ns-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 seems 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 renames 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 from 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
>>> <mailto:Yanel-development at wyona.com>
>>>
>>> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>>>
>>>
>>>
>>>
>>> --
>>> Mehmet Birgi
>>> www.wyona.com <http://www.wyona.com>
>>>
>>>
>> --
>> Yanel-development mailing list Yanel-development at wyona.com
>> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>>
>
>
>
> --
> Mehmet Birgi
> www.wyona.com
>
>
-- =
Mehmet Birgi
www.wyona.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wyona.org/pipermail/yanel-development/attachments/2010040=
1/fceddaaf/attachment.htm
More information about the Yanel-development
mailing list