[Adding dev] ---------- Forwarded message ---------- From: Manujith Pallewatte <[email protected]> Date: Mon, May 9, 2016 at 5:00 PM Subject: Re: [Dev] Fwd: [IS] Missing requirement in building product-is from source To: Chamila Wijayarathna <[email protected]>
Hi Malithi, This error in building identity-framework it's due to an error in maven felix scr plugin You can have a temporary fix for this by adding a later version of felix scr to the place you get the issue You can find the bug at [2] in apache bug tracker, also the changelog for 1.8.0 mention that bug fixed [3] Fix I did was to add version 1.8.0 to identity-framework/components/authentication-framework/org.wso2.carbon.identity.application.authentication.framework/pom.xml Note: this will override the scr plugin version defined in the parent pom which is 1.7.4 [1] https://issues.apache.org/jira/browse/FELIX-3571 [2] https://svn.apache.org/repos/asf/felix/releases/maven-scr-plugin-1.21.0/changelog.txt Best Regards, Manujith On Mon, May 2, 2016 at 11:29 AM, Manujith Pallewatte <[email protected]> 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 < > [email protected]> 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 <[email protected]> >> 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 <[email protected]> >>> Date: Wed, Apr 27, 2016 at 7:49 PM >>> Subject: Re: [IS] Missing requirement in building product-is from source >>> To: Chamila Wijayarathna <[email protected]> >>> >>> >>> 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 <[email protected]> >>> 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 < >>>> [email protected]> 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 >>> [email protected] >>> 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> > -- [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 [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
