You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Alexander <th...@gmail.com> on 2009/10/25 17:08:27 UTC
Dependency of different version
Hello all,
My project has two dependencies A and B.
A - has asm:2.2.3 as dependency.
B - has asm:1.5.3 as dependency.
Its invalid to use asm:2.2.3 in B and asm:1.5.3 in A. (lot of error occurs)
How could I make both A and B use their favourite asm version?
--
Regards,
Alexander
Re: Dependency of different version
Posted by Alexander <th...@gmail.com>.
Thank you, Stevo! Used com.google.jarjar:1.0 and successfully repacked A
project. Thanks God its open source!
2009/10/25 Stevo Slavić <ss...@gmail.com>
> http://asm.ow2.org/doc/faq.html#Q15
>
> Regards,
> Stevo.
>
> On Sun, Oct 25, 2009 at 6:24 PM, Alexander <th...@gmail.com> wrote:
>
> > Great, anything else?
> >
> > 2009/10/25 Stevo Slavić <ss...@gmail.com>
> >
> > > OSGi. See versioning in list of benefits here<
> > > http://www.osgi.org/About/WhyOSGi>
> > > .
> > >
> > > Regards,
> > > Stevo.
> > >
> > > On Sun, Oct 25, 2009 at 5:08 PM, Alexander <th...@gmail.com>
> > wrote:
> > >
> > > > Hello all,
> > > >
> > > > My project has two dependencies A and B.
> > > >
> > > > A - has asm:2.2.3 as dependency.
> > > > B - has asm:1.5.3 as dependency.
> > > >
> > > > Its invalid to use asm:2.2.3 in B and asm:1.5.3 in A. (lot of error
> > > occurs)
> > > >
> > > > How could I make both A and B use their favourite asm version?
> > > >
> > > > --
> > > > Regards,
> > > > Alexander
> > > >
> > >
> >
> >
> >
> > --
> > Regards,
> > Alexander
> >
>
--
Regards,
Alexander
Re: Dependency of different version
Posted by Stevo Slavić <ss...@gmail.com>.
http://asm.ow2.org/doc/faq.html#Q15
Regards,
Stevo.
On Sun, Oct 25, 2009 at 6:24 PM, Alexander <th...@gmail.com> wrote:
> Great, anything else?
>
> 2009/10/25 Stevo Slavić <ss...@gmail.com>
>
> > OSGi. See versioning in list of benefits here<
> > http://www.osgi.org/About/WhyOSGi>
> > .
> >
> > Regards,
> > Stevo.
> >
> > On Sun, Oct 25, 2009 at 5:08 PM, Alexander <th...@gmail.com>
> wrote:
> >
> > > Hello all,
> > >
> > > My project has two dependencies A and B.
> > >
> > > A - has asm:2.2.3 as dependency.
> > > B - has asm:1.5.3 as dependency.
> > >
> > > Its invalid to use asm:2.2.3 in B and asm:1.5.3 in A. (lot of error
> > occurs)
> > >
> > > How could I make both A and B use their favourite asm version?
> > >
> > > --
> > > Regards,
> > > Alexander
> > >
> >
>
>
>
> --
> Regards,
> Alexander
>
Re: Dependency of different version
Posted by Stephen Connolly <st...@gmail.com>.
maven shade plugin... shade and relocate the different versions of asm
Sent from my [rhymes with tryPod] ;-)
On 25 Oct 2009, at 17:24, Alexander <th...@gmail.com> wrote:
> Great, anything else?
>
> 2009/10/25 Stevo Slavić <ss...@gmail.com>
>
>> OSGi. See versioning in list of benefits here<
>> http://www.osgi.org/About/WhyOSGi>
>> .
>>
>> Regards,
>> Stevo.
>>
>> On Sun, Oct 25, 2009 at 5:08 PM, Alexander <th...@gmail.com>
>> wrote:
>>
>>> Hello all,
>>>
>>> My project has two dependencies A and B.
>>>
>>> A - has asm:2.2.3 as dependency.
>>> B - has asm:1.5.3 as dependency.
>>>
>>> Its invalid to use asm:2.2.3 in B and asm:1.5.3 in A. (lot of error
>> occurs)
>>>
>>> How could I make both A and B use their favourite asm version?
>>>
>>> --
>>> Regards,
>>> Alexander
>>>
>>
>
>
>
> --
> Regards,
> Alexander
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Dependency of different version
Posted by Alexander <th...@gmail.com>.
Great, anything else?
2009/10/25 Stevo Slavić <ss...@gmail.com>
> OSGi. See versioning in list of benefits here<
> http://www.osgi.org/About/WhyOSGi>
> .
>
> Regards,
> Stevo.
>
> On Sun, Oct 25, 2009 at 5:08 PM, Alexander <th...@gmail.com> wrote:
>
> > Hello all,
> >
> > My project has two dependencies A and B.
> >
> > A - has asm:2.2.3 as dependency.
> > B - has asm:1.5.3 as dependency.
> >
> > Its invalid to use asm:2.2.3 in B and asm:1.5.3 in A. (lot of error
> occurs)
> >
> > How could I make both A and B use their favourite asm version?
> >
> > --
> > Regards,
> > Alexander
> >
>
--
Regards,
Alexander
Re: Dependency of different version
Posted by Stevo Slavić <ss...@gmail.com>.
OSGi. See versioning in list of benefits here<http://www.osgi.org/About/WhyOSGi>
.
Regards,
Stevo.
On Sun, Oct 25, 2009 at 5:08 PM, Alexander <th...@gmail.com> wrote:
> Hello all,
>
> My project has two dependencies A and B.
>
> A - has asm:2.2.3 as dependency.
> B - has asm:1.5.3 as dependency.
>
> Its invalid to use asm:2.2.3 in B and asm:1.5.3 in A. (lot of error occurs)
>
> How could I make both A and B use their favourite asm version?
>
> --
> Regards,
> Alexander
>