Might be better to add this to documentation also.

On Fri, Jun 23, 2017 at 2:30 PM, KasunG Gajasinghe <[email protected]> wrote:

> Thanks a lot.
>
> On Fri, Jun 23, 2017 at 1:05 PM Maheshika Goonetilleke <[email protected]>
> wrote:
>
>> Hi Kasun
>>
>> As requested made the change on Wednesday. Apologies for delayed
>> response.
>>
>> On Wed, Jun 21, 2017 at 12:05 PM, KasunG Gajasinghe <[email protected]>
>> wrote:
>>
>>>
>>> We can use add this property into Jenkins. Adding @Maheshika. It's
>>> better if we can do this in global-level instead of per job.
>>>
>>> Thanks,
>>> KasunG
>>>
>>> On Wed, Jun 21, 2017 at 11:41 AM, Maduranga Siriwardena <
>>> [email protected]> wrote:
>>>
>>>> Using the java.util.Arrays.useLegacyMergeSort jvm parameter with the
>>>> maven command like below solved the problem
>>>>
>>>> _JAVA_OPTIONS=-Djava.util.Arrays.useLegacyMergeSort=true mvn clean
>>>> install
>>>>
>>>> Thanks Farasath and Jayanga for the solution.
>>>>
>>>> On Thu, Mar 24, 2016 at 4:01 PM, Aruna Karunarathna <[email protected]>
>>>> wrote:
>>>>
>>>>>
>>>>>
>>>>> On Wed, Mar 23, 2016 at 7:08 PM, Maduranga Siriwardena <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Any ideas how to resolve this issue?
>>>>>>
>>>>>
>>>>> Hi Maduranga,
>>>>>
>>>>> I tried with both JDK 7 and 8 and the 4.4.x branch built without any
>>>>> issue.
>>>>>
>>>>> Can you try building with a clean maven repo?
>>>>>
>>>>> Regards,
>>>>> Aruna
>>>>>
>>>>>>
>>>>>> Thanks,
>>>>>> Maduranga
>>>>>>
>>>>>> On Tue, Sep 1, 2015 at 11:10 AM, Maduranga Siriwardena <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> Anyone know how to fix this? I keep on getting this error
>>>>>>>
>>>>>>> Failed to execute goal org.apache.felix:maven-scr-plugin:1.7.4:scr
>>>>>>> (generate-scr-scrdescriptor) on project org.wso2.carbon.core: Execution
>>>>>>> generate-scr-scrdescriptor of goal 
>>>>>>> org.apache.felix:maven-scr-plugin:1.7.4:scr
>>>>>>> failed: Comparison method violates its general contract! -> [Help 1]
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Maduranga
>>>>>>>
>>>>>>> On Fri, Jun 12, 2015 at 11:16 AM, Maduranga Siriwardena <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>> Hi Thusitha,
>>>>>>>>
>>>>>>>> I have tried to build both master branch and release-4.4.0 branch.
>>>>>>>>
>>>>>>>> I have java version "1.7.0_80" and Apache Maven 3.0.5
>>>>>>>>
>>>>>>>> On Fri, Jun 12, 2015 at 11:05 AM, Thusitha Thilina Dayaratne <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>> Hi Maduranga,
>>>>>>>>>
>>>>>>>>> If you are trying to build the master branch from github use JDK7
>>>>>>>>>  or 8 with maven 3.0.x.
>>>>>>>>> This will help you https://docs.wso2.com/display/Carbon440/
>>>>>>>>> Installation+Prerequisites
>>>>>>>>>
>>>>>>>>> Thanks
>>>>>>>>>
>>>>>>>>> On Fri, Jun 12, 2015 at 10:57 AM, Thusitha Thilina Dayaratne <
>>>>>>>>> [email protected]> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Madhuranga,
>>>>>>>>>>
>>>>>>>>>> I just checkout the master branch and built without any issues.
>>>>>>>>>> May be some compatible issues with maven and jdk versions?
>>>>>>>>>>
>>>>>>>>>> Thanks
>>>>>>>>>>
>>>>>>>>>> On Fri, Jun 12, 2015 at 10:39 AM, Maduranga Siriwardena <
>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi all,
>>>>>>>>>>>
>>>>>>>>>>> I tried to build carbon4-kernel and I got the below error.
>>>>>>>>>>>
>>>>>>>>>>> *Failed to execute goal
>>>>>>>>>>> org.apache.felix:maven-scr-plugin:1.7.4:scr 
>>>>>>>>>>> (generate-scr-scrdescriptor) on
>>>>>>>>>>> project org.wso2.carbon.core: Execution generate-scr-scrdescriptor 
>>>>>>>>>>> of goal
>>>>>>>>>>> org.apache.felix:maven-scr-plugin:1.7.4:scr failed: Comparison 
>>>>>>>>>>> method
>>>>>>>>>>> violates its general contract!*
>>>>>>>>>>>
>>>>>>>>>>> Such a problem is reported in apache felix plugin version 1.7.4
>>>>>>>>>>> [1]. So I changed the version of the maven scr plugin to 1.8.0 and 
>>>>>>>>>>> if I
>>>>>>>>>>> resume the build, it build successfully.
>>>>>>>>>>>
>>>>>>>>>>> But if I build the code again from the beginning, I get below
>>>>>>>>>>> error from *org.wso2.carbon.registry.core* which is built
>>>>>>>>>>> before *org.wso2.carbon.core*.
>>>>>>>>>>>
>>>>>>>>>>> *[ERROR] Bundle
>>>>>>>>>>> org.wso2.carbon:org.wso2.carbon.registry.core:bundle:4.4.1-SNAPSHOT 
>>>>>>>>>>> : Input
>>>>>>>>>>> file does not exist:
>>>>>>>>>>> target/scr-plugin-generated/OSGI-INF/serviceComponents.xml*
>>>>>>>>>>>
>>>>>>>>>>> Seems to be it is not generating the OSGI-INF. Any help how to
>>>>>>>>>>> build source successfully?
>>>>>>>>>>>
>>>>>>>>>>> [1] https://issues.apache.org/jira/browse/FELIX-3571
>>>>>>>>>>>
>>>>>>>>>>> Thank you.
>>>>>>>>>>> --
>>>>>>>>>>> Maduranga Siriwardena
>>>>>>>>>>> Software Engineer
>>>>>>>>>>> WSO2 Inc.
>>>>>>>>>>>
>>>>>>>>>>> email: [email protected]
>>>>>>>>>>> mobile: +94718990591
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Dev mailing list
>>>>>>>>>>> [email protected]
>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Thusitha Dayaratne
>>>>>>>>>> Software Engineer
>>>>>>>>>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>>>>>>>>>
>>>>>>>>>> Mobile  +94712756809
>>>>>>>>>> Blog      alokayasoya.blogspot.com
>>>>>>>>>> About    http://about.me/thusithathilina
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Thusitha Dayaratne
>>>>>>>>> Software Engineer
>>>>>>>>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>>>>>>>>
>>>>>>>>> Mobile  +94712756809
>>>>>>>>> Blog      alokayasoya.blogspot.com
>>>>>>>>> About    http://about.me/thusithathilina
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Maduranga Siriwardena
>>>>>>>> Software Engineer
>>>>>>>> WSO2 Inc.
>>>>>>>>
>>>>>>>> email: [email protected]
>>>>>>>> mobile: +94718990591
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Maduranga Siriwardena
>>>>>>> Software Engineer
>>>>>>> WSO2 Inc.
>>>>>>>
>>>>>>> email: [email protected]
>>>>>>> mobile: +94718990591
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Maduranga Siriwardena
>>>>>> Software Engineer
>>>>>> WSO2 Inc.
>>>>>>
>>>>>> email: [email protected]
>>>>>> mobile: +94718990591
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> [email protected]
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> *Aruna Sujith Karunarathna *
>>>>> WSO2, Inc | lean. enterprise. middleware.
>>>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>>>> Mobile: +94 71 9040362 | Work: +94 112145345
>>>>> Email: [email protected] | Web: www.wso2.com
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Maduranga Siriwardena
>>>> Senior Software Engineer
>>>> WSO2 Inc; http://wso2.com/
>>>>
>>>> Email: [email protected]
>>>> Mobile: +94718990591 <071%20899%200591>
>>>> Blog: *https://madurangasiriwardena.wordpress.com/
>>>> <https://madurangasiriwardena.wordpress.com/>*
>>>> <http://wso2.com/signature>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> *Kasun Gajasinghe*Associate Technical Lead, WSO2 Inc.
>>> email: kasung AT spamfree wso2.com
>>> linked-in: http://lk.linkedin.com/in/gajasinghe
>>> blog: http://kasunbg.org
>>> phone: +1 650-745-4499 <(650)%20745-4499>, 77 678 0813
>>>
>>>
>>
>>
>>
>> --
>>
>> Thanks & Best Regards,
>>
>> Maheshika Goonetilleke
>> Senior Engineering Process Coordinator
>>
>> *WSO2 Inc*
>> *email   : [email protected] <[email protected]>*
>> *mobile : +94 773 596707 <+94%2077%20359%206707>*
>> *www: :http://wso2.com <http://wso2.com/>*
>>
>> lean . enterprise . middleware
>>
>>
>>
>>
>> --
>
> *Kasun Gajasinghe*Associate Technical Lead, WSO2 Inc.
> email: kasung AT spamfree wso2.com
> linked-in: http://lk.linkedin.com/in/gajasinghe
> blog: http://kasunbg.org
> phone: +1 650-745-4499 <(650)%20745-4499>, 77 678 0813
>
>



-- 
Maduranga Siriwardena
Senior Software Engineer
WSO2 Inc; http://wso2.com/

Email: [email protected]
Mobile: +94718990591
Blog: *https://madurangasiriwardena.wordpress.com/
<https://madurangasiriwardena.wordpress.com/>*
<http://wso2.com/signature>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to