Hi, Is this being solved. I get the same error [1] when building on OS X Yosemite. Also seems the same was discussed in [2] as well.
This was identified as a bug in felix plugin at [3]. Upgrading the maven-scr-plugin to version 1.8.0 successfully built the respective component. However, that does to build OSGI bundles properly. Any idea on how to solve this issue? [1] "[ERROR] Failed to execute goal org.apache.felix:maven-scr-plugin:1.7.2:scr (generate-scr-scrdescriptor) on project org.wso2.carbon.identity. application.authentication.framework: Execution generate-scr-scrdescriptor of goal org.apache.felix:maven-scr-plugin:1.7.2:scr failed: Comparison method violates its general contract! -> [Help 1]" [2]"[Dev] [Carbon] Build fail in cerbon4-kernel source code." [3] https://issues.apache.org/jira/browse/FELIX-3571 Thanks, Malithi On Mon, May 2, 2016 at 11:29 AM, Manujith Pallewatte <manujith...@gmail.com> wrote: > Hi all, > > Just to update in case anyone else is having the issue, product-is didn't > build on Ubuntu 16.04 (for reasons still not known) but build successfully > in Ubuntu 14.04. Still having the above mentioned issue in > identity-framework build though. > > Thanks! > > On Thu, Apr 28, 2016 at 9:26 AM, Manujith Pallewatte < > manujith...@gmail.com> wrote: > >> Hi Chamila, >> >> I tried with maven 3.3 also with maven 3.0.5 as mentioned in the >> requirements >> I build product-is only before in a windows environment, with no issues, >> but it didn't work in the current (ubuntu 16.04) environment >> From the link above[1] i have all prerequisites other than svn, since I >> clone from git i believe svn is of no use >> >> >> [1]. https://docs.wso2.com/display/IS510/Installation+Prerequisites >> >> >> On Wed, Apr 27, 2016 at 9:06 PM, Chamila Wijayarathna <cham...@wso2.com> >> wrote: >> >>> [adding dev] >>> >>> identity-framework should build without any issues, what is the maven >>> version you are using? Can you check if you have all the requirement >>> mentioned at [1] for building the identity server from source code. Was >>> this building successfully previously? >>> >>> [1]. https://docs.wso2.com/display/IS510/Installation+Prerequisites >>> >>> ---------- Forwarded message ---------- >>> From: Manujith Pallewatte <manujith...@gmail.com> >>> Date: Wed, Apr 27, 2016 at 7:49 PM >>> Subject: Re: [IS] Missing requirement in building product-is from source >>> To: Chamila Wijayarathna <cham...@wso2.com> >>> >>> >>> Hi Chamila, >>> >>> Apparently identity framework didnt have the latest commits, I forked it >>> today and pulled but It must have missed some commits >>> Anyway I updated the local repo to all changes, but now identity >>> framework gives an error in building >>> >>> "[ERROR] Failed to execute goal >>> org.apache.felix:maven-scr-plugin:1.7.2:scr (generate-scr-scrdescriptor) on >>> project org.wso2.carbon.identity.application.authentication.framework: >>> Execution generate-scr-scrdescriptor of goal >>> org.apache.felix:maven-scr-plugin:1.7.2:scr failed: Comparison method >>> violates its general contract! -> [Help 1]" >>> >>> I google and found that this is a known bug of apache felix, but it >>> didn't provide and solid way to solve other than to change jdk version >>> I tried changing version with no luck, any ideas? >>> >>> Also found similar error in dev list >>> http://mail.wso2.org/mailarchive/dev/2015-June/049912.html >>> >>> Thank You >>> >>> On Wed, Apr 27, 2016 at 4:46 PM, Chamila Wijayarathna <cham...@wso2.com> >>> wrote: >>> >>>> Hi Manujith, >>>> >>>> It seems like your identity-framework or product-is is not upto date. >>>> >>>> Can you check what are the latest commits in both repos using git log >>>> and check if commits merged within last few days are there in your local >>>> repo? >>>> >>>> Thank You! >>>> >>>> On Wed, Apr 27, 2016 at 3:56 PM, Manujith Pallewatte < >>>> manujith...@gmail.com> wrote: >>>> >>>>> Hi all, >>>>> >>>>> I'm trying to setup the development environment to start working for >>>>> GSOC on the identity server, and I already downloaded and build the >>>>> carbon-identity-framework repo along with the extensions as mentioned in >>>>> [1] >>>>> >>>>> Now I'm trying to build product-is from source as well, to make sure I >>>>> have all the dependencies before doing in changes to the source, but >>>>> running maven install in product is gives the following error >>>>> >>>>> "Missing requirement: Application Authentication Framework Server >>>>> Feature 5.0.9.SNAPSHOT >>>>> (org.wso2.carbon.identity.application.authentication.framework.server.feature.group >>>>> 5.0.9.SNAPSHOT) requires >>>>> 'org.wso2.carbon.tenant.mgt.common.server.feature.group [4.4.8,4.5.0)' but >>>>> it could not be found" >>>>> >>>>> I check the local maven repo and this package isnt available in it, so >>>>> why is maven not downloading this from the remote repository? >>>>> >>>>> Thank You >>>>> >>>>> >>>>> [1] https://gist.github.com/pulasthi7/3d365a3345371fd63f74 >>>>> >>>>> -- >>>>> >>>>> >>>>> >>>>> [image: Manujith Pallewatte on about.me] >>>>> >>>>> Manujith Pallewatte >>>>> about.me/manzzup >>>>> <http://about.me/manzzup> >>>>> >>>> >>>> >>>> >>>> -- >>>> *Chamila Dilshan Wijayarathna,* >>>> Software Engineer >>>> Mobile:(+94)788193620 >>>> WSO2 Inc., http://wso2.com/ >>>> >>> >>> >>> >>> -- >>> >>> >>> >>> [image: Manujith Pallewatte on about.me] >>> >>> Manujith Pallewatte >>> about.me/manzzup >>> <http://about.me/manzzup> >>> >>> >>> >>> -- >>> *Chamila Dilshan Wijayarathna,* >>> Software Engineer >>> Mobile:(+94)788193620 >>> WSO2 Inc., http://wso2.com/ >>> >>> _______________________________________________ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> >> >> >> [image: Manujith Pallewatte on about.me] >> >> Manujith Pallewatte >> about.me/manzzup >> <http://about.me/manzzup> >> > > > > -- > > > > [image: Manujith Pallewatte on about.me] > > Manujith Pallewatte > about.me/manzzup > <http://about.me/manzzup> > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Malithi Edirisinghe* Senior Software Engineer WSO2 Inc. Mobile : +94 (0) 718176807 malit...@wso2.com
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev