Hi Thusitha & All, The feature you mentioned ( org.wso2.carbon.registry.ui.menu.governance.feature) too could not be removed as it was required as a dependency for another feature.
Anyway I could solve the issue via a different approach. I didn't remove any feature at all. (removing org.wso2.carbon.governance.metadata.ui.feature too caused the removal of Custom View of asset rxt in mgt console). Menus (such as Meta Data menu) to displayed in the mgt console ui, are defined in <distribution_pack.zip>/repository/resources/component.xml. So what I did was replacing that <distribution_pack.zip>/repository/resources/component.xml in the product distribution package (zip) in build-time so that it won't contain metadata_menu element or its sub elements. Replacement was done by the modules/distribution/pom.xml. This solution might not be the most efficient, but was the only solution found. Thanks for the suggestions and support. Regards On Tue, Jun 14, 2016 at 12:17 PM, Thusitha Thilina Dayaratne < thusit...@wso2.com> wrote: > Hi Samitha, > > AFAIU this is coming from org.wso2.carbon.ui.menu.governance component > and it packs with org.wso2.carbon.registry.ui.menu.governance.feature[1] > Can you try to remove that and check if the menu still available? > > [1] - > https://github.com/wso2/carbon-registry/blob/master/features/registry-core/org.wso2.carbon.registry.ui.menu.governance.feature/pom.xml > <https://github.com/wso2/carbon-registry/blob/master/features/registry-core/org.wso2.carbon.registry.ui.menu.governance.feature/pom.xml> > > Thanks > > On Mon, Jun 13, 2016 at 12:31 PM, Samitha Chathuranga <sami...@wso2.com> > wrote: > >> Hi Denuwanthi, >> >> Thanks for the suggestion. I removed the lifecycle UI feature too and the >> build is now ok. We will consider about the permission restriction for the >> expected requirement. >> >> Regards. >> >> On Mon, Jun 13, 2016 at 12:07 PM, Denuwanthi De Silva < >> denuwan...@wso2.com> wrote: >> >>> Hi Samitha, >>> >>> Since you don't need meta data ui, there is no point of having a >>> lifecycle ui as well(as there are no metadata view to do lifecycle >>> operations). Then you can go on and remove the lifecycle UI feature and >>> just use the lifecycle server feature. >>> >>> Anyway, the kind of requirement you need, can be achieved via permission >>> management. >>> That is, you restrict the permissions to WSO2 PC users/roles according >>> to the operations you want to be restricted to each role. So some roles >>> will not be able to modify metadata etc. >>> >>> >>> Thanks. >>> >>> On Mon, Jun 13, 2016 at 11:50 AM, Samitha Chathuranga <sami...@wso2.com> >>> wrote: >>> >>>> Hi Denuwanthi, >>>> >>>> This is the error log. >>>> >>>> Cannot complete the install because one or more required items could >>>> not be found. >>>> Software being installed: WSO2 Carbon - Governance Lifecycle >>>> Management Feature 4.6.4.SNAPSHOT >>>> (org.wso2.carbon.governance.lifecycle.management.feature.group >>>> 4.6.4.SNAPSHOT) >>>> Missing requirement: WSO2 Carbon - Governance Lifecycle Management UI >>>> Feature 4.6.4.SNAPSHOT >>>> (org.wso2.carbon.governance.lifecycle.management.ui.feature.group >>>> 4.6.4.SNAPSHOT) requires >>>> 'org.wso2.carbon.registry.extensions.ui.feature.group >>>> [4.6.4.SNAPSHOT,4.7.0)' but it could not be found >>>> Cannot satisfy dependency: >>>> From: WSO2 Carbon - Governance Lifecycle Management Feature >>>> 4.6.4.SNAPSHOT >>>> (org.wso2.carbon.governance.lifecycle.management.feature.group >>>> 4.6.4.SNAPSHOT) >>>> To: org.wso2.carbon.governance.lifecycle.management.ui.feature.group >>>> [4.6.4.SNAPSHOT] >>>> Application failed, log file location: >>>> /home/samithac/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1465798066460.log >>>> ..... >>>> >>>> Anyway I am not sure that the solution for my task is removing >>>> org.wso2.carbon.registry.extensions.ui.feature. Because it seems that other >>>> features need it and so we cannot remove it. >>>> >>>> Thanks. >>>> >>>> >>>> On Mon, Jun 13, 2016 at 11:34 AM, Denuwanthi De Silva < >>>> denuwan...@wso2.com> wrote: >>>> >>>>> Hi Samitha, >>>>> >>>>> Can you mention the error log you get when the build fails (when >>>>> removing org.wso2.carbon.registry.extensions.ui.feature)? >>>>> >>>>> Thanks >>>>> >>>>> On Mon, Jun 13, 2016 at 11:25 AM, Samitha Chathuranga < >>>>> sami...@wso2.com> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> I wanted to remove Main - > Metadata section on the mgt console (In >>>>>> WSO2 PC). So I removed, >>>>>> >>>>>> org.wso2.carbon.governance.metadata.ui.feature >>>>>> ( by removing, org.wso2.carbon.governance.metadata.feature and adding >>>>>> org.wso2.carbon.governance.metadata.server.feature.) >>>>>> >>>>>> But this was half a success as it removed all the sub links / buttons >>>>>> under "Metadata" section, but the specific collapsible menu (only with >>>>>> the heading label) is still left. So I want to remove that empty >>>>>> collapsible Metadata >>>>>> menu heading too. How to do that? >>>>>> >>>>>> P.S. I tried removing org.wso2.carbon.registry.extensions.ui.feature but >>>>>> then the build failed as another feature required that removed feature >>>>>> as a dependency. >>>>>> >>>>>> Thanks. >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Samitha Chathuranga >>>>>> Software Engineer, WSO2 Inc. >>>>>> lean.enterprise.middleware >>>>>> Mobile: +94715123761 >>>>>> >>>>>> _______________________________________________ >>>>>> Dev mailing list >>>>>> Dev@wso2.org >>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Denuwanthi De Silva >>>>> Software Engineer; >>>>> WSO2 Inc.; http://wso2.com, >>>>> Email: denuwan...@wso2.com >>>>> Blog: https://denuwanthi.wordpress.com/ >>>>> >>>> >>>> >>>> >>>> -- >>>> Samitha Chathuranga >>>> Software Engineer, WSO2 Inc. >>>> lean.enterprise.middleware >>>> Mobile: +94715123761 >>>> >>> >>> >>> >>> -- >>> Denuwanthi De Silva >>> Software Engineer; >>> WSO2 Inc.; http://wso2.com, >>> Email: denuwan...@wso2.com >>> Blog: https://denuwanthi.wordpress.com/ >>> >> >> >> >> -- >> Samitha Chathuranga >> Software Engineer, WSO2 Inc. >> lean.enterprise.middleware >> Mobile: +94715123761 >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> 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 > > -- Samitha Chathuranga Software Engineer, WSO2 Inc. lean.enterprise.middleware Mobile: +94715123761
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev