Re: [Architecture] Same feature with different versions in different runtimes

2017-09-10 Thread Kasun Siyambalapitiya
Hi Niranjan, Thank you for pointing it out, created an issue regarding the above. Thanks. On Fri, Sep 8, 2017 at 8:35 AM, Niranjan Karunanandham wrote: > Hi Kasun, > > Have we created a git issue for the carbon-maven-plugins with regard to > not able to download two versions of the same featur

Re: [Architecture] Same feature with different versions in different runtimes

2017-09-07 Thread Niranjan Karunanandham
Hi Kasun, Have we created a git issue for the carbon-maven-plugins with regard to not able to download two versions of the same feature to create a p2-repo? Regards, Nira On 8 Sep 2017 5:13 a.m., "Kasun Siyambalapitiya" wrote: > Hi Dilan and all, > > Pardon me for the late reply. Yes, I agree

Re: [Architecture] Same feature with different versions in different runtimes

2017-09-07 Thread Kasun Siyambalapitiya
Hi Dilan and all, Pardon me for the late reply. Yes, I agree with your point due to the fact that different feature versions including slight or major differences in their implementation has been released as compatible features for WSO2 Carbon 4.4.x (Wilkes) [1] products, For example, 1. or

Re: [Architecture] Same feature with different versions in different runtimes

2017-08-17 Thread Dilan Udara Ariyaratne
Hi Kasun and All, Let me raise a different, but fundamental concern to this issue. Please correct me if I am wrong. It's perfectly valid to have the same feature on different run-times (or profiles) of a product, but if that same feature appears in "different versions", meaning, with slight or ma

Re: [Architecture] Same feature with different versions in different runtimes

2017-08-17 Thread Kasun Siyambalapitiya
Hi Niranjan, When generating the p2-repository using `carbon-maven-plugin version 3.x` this issue arises due to the fact that it resolves dependencies for each given feature with the dependencies we defined in the pom itself (note that the effective pom is used for the resolving). Since maven pick

Re: [Architecture] Same feature with different versions in different runtimes

2017-08-16 Thread Niranjan Karunanandham
Hi Kasun, On Thu, Aug 17, 2017 at 10:04 AM, Kasun Siyambalapitiya wrote: > Hi Niranjan, > > The build fails before successful generation of the p2-repo by giving the > following error > > [ERROR] Failed to execute goal org.wso2.carbon.maven:carbon-f >> eature-plugin:3.1.1:generate-repo (p2-repo-

Re: [Architecture] Same feature with different versions in different runtimes

2017-08-16 Thread Kasun Siyambalapitiya
Hi Niranjan, The build fails before successful generation of the p2-repo by giving the following error [ERROR] Failed to execute goal org.wso2.carbon.maven:carbon-f > eature-plugin:3.1.1:generate-repo (p2-repo-generation) on project > wso2carbon-kernel: Feature org.wso2.carbon.pax.exam.feature_5.

Re: [Architecture] Same feature with different versions in different runtimes

2017-08-16 Thread Niranjan Karunanandham
Hi Kasun, On Wed, Aug 16, 2017 at 3:30 PM, Kasun Siyambalapitiya wrote: > Hi all, > > When I was creating a custom product using carbon-kernel version > 5.2.0-alpha[1] the following issue aroused. > In a scenario where a product is build with 2 runtimes called runtimeA and > runtimeB. > > runtim

[Architecture] Same feature with different versions in different runtimes

2017-08-16 Thread Kasun Siyambalapitiya
Hi all, When I was creating a custom product using carbon-kernel version 5.2.0-alpha[1] the following issue aroused. In a scenario where a product is build with 2 runtimes called runtimeA and runtimeB. runtimeA contains the below feature among it's other features pax.exam.feature v5.2.0.0 sample