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
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
