You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by Colm O hEigeartaigh <co...@apache.org> on 2013/02/18 17:13:39 UTC

Commons Lang version

Hi all,

We have two different dependencies of Commons Lang in 'core':

commons-lang:commons-lang:jar:2.6:compile
org.apache.commons:commons-lang3:jar:3.1:compile

2.6 is coming in from syncope-common, 3.1 via Apache bval. Should we just
upgrade Syncope to use 3.1?

Colm.


-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Re: Commons Lang version

Posted by Colm O hEigeartaigh <co...@apache.org>.
Hi Francesco,

This means that if commons-lang:2.6 is pulled in by some dependency (in
> addition to being listed in syncope-common), we will be forced to use both
> versions.


Ok I guess this is unavoidable. Let's just leave things as they are then I
guess until Activiti upgrades.

Colm.

On Tue, Feb 19, 2013 at 7:58 AM, Francesco Chicchiriccò <ilgrosso@apache.org
> wrote:

> On 18/02/2013 18:00, Francesco Chicchiriccň wrote:
>
>> On 18/02/2013 17:13, Colm O hEigeartaigh wrote:
>>
>>> Hi all,
>>>
>>> We have two different dependencies of Commons Lang in 'core':
>>>
>>> commons-lang:commons-lang:jar:**2.6:compile
>>> org.apache.commons:commons-**lang3:jar:3.1:compile
>>>
>>> 2.6 is coming in from syncope-common, 3.1 via Apache bval. Should we just
>>> upgrade Syncope to use 3.1?
>>>
>>
>> +1
>>
>> Also consider that, as reported in commons-lang homepage,
>>
>>  Note that Lang 3.0 (and subsequent versions) use a different package
>>> (/org.apache.commons.lang3/) than the previous versions
>>> (/org.apache.commons.lang/), allowing it to be used at the same time as an
>>> earlier version.
>>>
>>
>> This means that if commons-lang:2.6 is pulled in by some dependency (in
>> addition to being listed in syncope-common), we will be forced to use both
>> versions.
>>
>
>
> [INFO] +- org.activiti:activiti-engine:**jar:5.11:compile
> [INFO] |  +- org.apache.commons:commons-**email:jar:1.2:compile
> [INFO] |  +- commons-lang:commons-lang:jar:**2.4:compile
> [INFO] |  +- org.mybatis:mybatis:jar:3.1.1:**compile
> [INFO] |  \- joda-time:joda-time:jar:2.1:**compile
>
> Any idea?
>
> --
> Francesco Chicchiriccň
>
>
> ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
> http://people.apache.org/~**ilgrosso/<http://people.apache.org/~ilgrosso/>
>
>


-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Re: Commons Lang version

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 18/02/2013 18:00, Francesco Chicchiriccò wrote:
> On 18/02/2013 17:13, Colm O hEigeartaigh wrote:
>> Hi all,
>>
>> We have two different dependencies of Commons Lang in 'core':
>>
>> commons-lang:commons-lang:jar:2.6:compile
>> org.apache.commons:commons-lang3:jar:3.1:compile
>>
>> 2.6 is coming in from syncope-common, 3.1 via Apache bval. Should we 
>> just
>> upgrade Syncope to use 3.1?
>
> +1
>
> Also consider that, as reported in commons-lang homepage,
>
>> Note that Lang 3.0 (and subsequent versions) use a different package 
>> (/org.apache.commons.lang3/) than the previous versions 
>> (/org.apache.commons.lang/), allowing it to be used at the same time 
>> as an earlier version.
>
> This means that if commons-lang:2.6 is pulled in by some dependency 
> (in addition to being listed in syncope-common), we will be forced to 
> use both versions.

Hi, unfortunately activiti-engine:5.11 pulls in commons-lang:2.4

[INFO] +- org.activiti:activiti-engine:jar:5.11:compile
[INFO] |  +- org.apache.commons:commons-email:jar:1.2:compile
[INFO] |  +- commons-lang:commons-lang:jar:2.4:compile
[INFO] |  +- org.mybatis:mybatis:jar:3.1.1:compile
[INFO] |  \- joda-time:joda-time:jar:2.1:compile

Any idea?

-- 
Francesco Chicchiriccò

ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/


Re: Commons Lang version

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 18/02/2013 17:13, Colm O hEigeartaigh wrote:
> Hi all,
>
> We have two different dependencies of Commons Lang in 'core':
>
> commons-lang:commons-lang:jar:2.6:compile
> org.apache.commons:commons-lang3:jar:3.1:compile
>
> 2.6 is coming in from syncope-common, 3.1 via Apache bval. Should we just
> upgrade Syncope to use 3.1?

+1

Also consider that, as reported in commons-lang homepage,

> Note that Lang 3.0 (and subsequent versions) use a different package 
> (/org.apache.commons.lang3/) than the previous versions 
> (/org.apache.commons.lang/), allowing it to be used at the same time 
> as an earlier version.

This means that if commons-lang:2.6 is pulled in by some dependency (in 
addition to being listed in syncope-common), we will be forced to use 
both versions.

Regards.

-- 
Francesco Chicchiriccò

ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/