Re: [Dev] Incorporated carbon-feature-plugin-2.0.0-m1 in MSS and GW projects

2015-10-22 Thread Sameera Jayasoma
On Thu, Oct 22, 2015 at 12:47 AM, Sameera Jayasoma  wrote:

> Hi Azeez,
>
> Yeah, this is a major design decision of the new Carbon feature plugin. We
> had few design meetings for this plugin, there we finalized the
> configuration based on some of the following points.
>
> 1) Adopted a Maven dependency-like configuration for features and bundles
> instead of the strings and colon(:) configuration. I believe having a
> proper/valid XML structure is much better than the previous configuration.
> Because,
>
>- It's clean.
>- Configuration can be validated with a schema.
>- You get the same maven experience.
>
> e.g.
>
>
> *javax.ws.rs:javax.ws.rs-api*
>
> vs
>
> **
> *   javax.ws.rs-api*
> *${rs-api.version}*
> **
>
>
> 2) Refactored maven goals we had in the previous plugin and came up with
> easy to understand, self-explanatory set of Maven goal names.
>
>- *generate*
>- maven goal for generate carbon features (formerly known as
>   p2-feature-gen)
>
>
>-
> *generate-repo  *
>   - maven goal for generate repositories (formerly known as
>   p2-repo-gen)
>
>
>- *install*
>- maven goal for install features into a product (formerly known as
>   p2-profile-gen)
>
>
>- *uninstall*
> - maven goal for uninstalling features
>-
> *generate-profile *
>   - maven goal for generate profiles (formerly known as
>   materialize-product)
>
>
>- *publish-product*
>- maven goal for publishing a product
>
> Thanks,
> Sameera.
>
>
> On Thu, Oct 22, 2015 at 12:06 AM, Afkham Azeez  wrote:
>
>> Yes, merge the PR. On second thoughts, I think the new XML syntax is
>> better than the previous one because it specifically highlights that it is
>> using the bundle symbolic name & not the maven group or artifact ID.
>>
>> On Thu, Oct 22, 2015 at 12:34 PM, Kasun Indrasiri  wrote:
>>
>>> Should we go ahead with this change?
>>>
>>> On Mon, Oct 19, 2015 at 5:01 PM, Afkham Azeez  wrote:
>>>
 I am seeing a lot of introduction of new tags.

 e.g. 1. org.wso2.carbon.p2.category.type:server is now written as

 org.wso2.carbon.p2.category.type
 server


 2.
 javax.ws.rs:javax.ws.rs-api

 is now written as. Also we have the additional burden of specifying the
 version again.

 
javax.ws.rs-api
 ${rs-api.version}
 

 Why have we made the configuration more verbose? More XML tags is not
 necessarily better.


 On Mon, Oct 19, 2015 at 3:42 PM, Dinusha Boteju 
 wrote:

> Hi all,
>
> I have updated the pom files in WSO2 MSS and WSO2 GW projects to
> incorporate carbon-feature-plugin 2.0.0-m1 and sent pull requests to
> relevant repositories.
>
> jira link for MSS : https://wso2.org/jira/browse/WMS-2
> PR link for MSS : https://github.com/wso2/product-mss/pull/14
>
> jira link for GW   : https://wso2.org/jira/browse/WGW-1
> 
> PR link for GW   : https://github.com/wso2/product-gw/pull/6
>
> Best regards,
> --
> *Dinusha Boteju*
> *WSO2, Inc. http://wso2.com  *
> *lean.enterprise.middleware.*
>
> email: dinus...@wso2.com 
> phone:(+94) 776640275 <%28%2B94%29%2039736>
>



 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * *
 *email: **az...@wso2.com* 
 * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
 *http://blog.afkham.org* 
 *twitter: **http://twitter.com/afkham_azeez*
 
 *linked-in: **http://lk.linkedin.com/in/afkhamazeez
 *

 *Lean . Enterprise . Middleware*

>>>
>>>
>>>
>>> --
>>> Kasun Indrasiri
>>> Software Architect
>>> WSO2, Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> cell: +94 77 556 5206
>>> Blog : http://kasunpanorama.blogspot.com/
>>>
>>
>>
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * *
>> *email: **az...@wso2.com* 
>> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
>> *http://blog.afkham.org* 
>> *twitter: **http://twitter.com/afkham_azeez*
>> 
>> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
>> *
>>
>> *Lean . Enterprise . Middleware*
>>
>
>
>
> --
> Sameera Jayasoma,
> Software Architect,
>
> WSO2, Inc. (http://wso2.com)
> email: same...@wso2.com
> blog: http://blog.sameera.org
> twitter: https://twitter.com/sameerajayasoma
> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
> Mobile: 0094776364456
>
> Lean . Enterprise . Middleware
>
>


-- 
Sameera Jayasoma,
Softw

Re: [Dev] Incorporated carbon-feature-plugin-2.0.0-m1 in MSS and GW projects

2015-10-22 Thread Sameera Jayasoma
Hi Azeez,

Yeah, this is a major design decision of the new Carbon feature plugin. We
had few design meetings for this plugin, there we finalized the
configuration based on some of the following points.

1) Adopted a Maven dependency-like configuration for features and bundles
instead of the strings and colon(:) configuration. I believe having a
proper/valid XML structure is much better than the previous configuration.
Because,

   - It's clean.
   - Configuration can be validated with a schema.
   - You get the same maven experience.

e.g.


*javax.ws.rs:javax.ws.rs-api*

vs

**
*   javax.ws.rs-api*
*${rs-api.version}*
**


2) Refactored maven goals we had in the previous plugin and came up with
easy to understand, self-explanatory set of Maven goal names.

   - *generate*
   - maven goal for generate carbon features (formerly known as
  p2-feature-gen)


   -
*generate-repo  *
  - maven goal for generate repositories (formerly known as p2-repo-gen)


   - *install*
   - maven goal for install features into a product (formerly known as
  p2-profile-gen)


   - *uninstall*
- maven goal for uninstalling features
   -
*generate-profile *
  - maven goal for generate profiles (formerly known as
  materialize-product)


   - *publish-product*
   - maven goal for publishing a product

Thanks,
Sameera.


On Thu, Oct 22, 2015 at 12:06 AM, Afkham Azeez  wrote:

> Yes, merge the PR. On second thoughts, I think the new XML syntax is
> better than the previous one because it specifically highlights that it is
> using the bundle symbolic name & not the maven group or artifact ID.
>
> On Thu, Oct 22, 2015 at 12:34 PM, Kasun Indrasiri  wrote:
>
>> Should we go ahead with this change?
>>
>> On Mon, Oct 19, 2015 at 5:01 PM, Afkham Azeez  wrote:
>>
>>> I am seeing a lot of introduction of new tags.
>>>
>>> e.g. 1. org.wso2.carbon.p2.category.type:server is now written as
>>>
>>> org.wso2.carbon.p2.category.type
>>> server
>>>
>>>
>>> 2.
>>> javax.ws.rs:javax.ws.rs-api
>>>
>>> is now written as. Also we have the additional burden of specifying the
>>> version again.
>>>
>>> 
>>>javax.ws.rs-api
>>> ${rs-api.version}
>>> 
>>>
>>> Why have we made the configuration more verbose? More XML tags is not
>>> necessarily better.
>>>
>>>
>>> On Mon, Oct 19, 2015 at 3:42 PM, Dinusha Boteju 
>>> wrote:
>>>
 Hi all,

 I have updated the pom files in WSO2 MSS and WSO2 GW projects to
 incorporate carbon-feature-plugin 2.0.0-m1 and sent pull requests to
 relevant repositories.

 jira link for MSS : https://wso2.org/jira/browse/WMS-2
 PR link for MSS : https://github.com/wso2/product-mss/pull/14

 jira link for GW   : https://wso2.org/jira/browse/WGW-1
 
 PR link for GW   : https://github.com/wso2/product-gw/pull/6

 Best regards,
 --
 *Dinusha Boteju*
 *WSO2, Inc. http://wso2.com  *
 *lean.enterprise.middleware.*

 email: dinus...@wso2.com 
 phone:(+94) 776640275 <%28%2B94%29%2039736>

>>>
>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>> Member; Apache Software Foundation; http://www.apache.org/
>>> * *
>>> *email: **az...@wso2.com* 
>>> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
>>> *http://blog.afkham.org* 
>>> *twitter: **http://twitter.com/afkham_azeez*
>>> 
>>> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
>>> *
>>>
>>> *Lean . Enterprise . Middleware*
>>>
>>
>>
>>
>> --
>> Kasun Indrasiri
>> Software Architect
>> WSO2, Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> cell: +94 77 556 5206
>> Blog : http://kasunpanorama.blogspot.com/
>>
>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * *
> *email: **az...@wso2.com* 
> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
> *http://blog.afkham.org* 
> *twitter: **http://twitter.com/afkham_azeez*
> 
> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
> *
>
> *Lean . Enterprise . Middleware*
>



-- 
Sameera Jayasoma,
Software Architect,

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://blog.sameera.org
twitter: https://twitter.com/sameerajayasoma
flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
Mobile: 0094776364456

Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Incorporated carbon-feature-plugin-2.0.0-m1 in MSS and GW projects

2015-10-22 Thread Afkham Azeez
Yes, merge the PR. On second thoughts, I think the new XML syntax is better
than the previous one because it specifically highlights that it is using
the bundle symbolic name & not the maven group or artifact ID.

On Thu, Oct 22, 2015 at 12:34 PM, Kasun Indrasiri  wrote:

> Should we go ahead with this change?
>
> On Mon, Oct 19, 2015 at 5:01 PM, Afkham Azeez  wrote:
>
>> I am seeing a lot of introduction of new tags.
>>
>> e.g. 1. org.wso2.carbon.p2.category.type:server is now written as
>>
>> org.wso2.carbon.p2.category.type
>> server
>>
>>
>> 2.
>> javax.ws.rs:javax.ws.rs-api
>>
>> is now written as. Also we have the additional burden of specifying the
>> version again.
>>
>> 
>>javax.ws.rs-api
>> ${rs-api.version}
>> 
>>
>> Why have we made the configuration more verbose? More XML tags is not
>> necessarily better.
>>
>>
>> On Mon, Oct 19, 2015 at 3:42 PM, Dinusha Boteju 
>> wrote:
>>
>>> Hi all,
>>>
>>> I have updated the pom files in WSO2 MSS and WSO2 GW projects to
>>> incorporate carbon-feature-plugin 2.0.0-m1 and sent pull requests to
>>> relevant repositories.
>>>
>>> jira link for MSS : https://wso2.org/jira/browse/WMS-2
>>> PR link for MSS : https://github.com/wso2/product-mss/pull/14
>>>
>>> jira link for GW   : https://wso2.org/jira/browse/WGW-1
>>> 
>>> PR link for GW   : https://github.com/wso2/product-gw/pull/6
>>>
>>> Best regards,
>>> --
>>> *Dinusha Boteju*
>>> *WSO2, Inc. http://wso2.com  *
>>> *lean.enterprise.middleware.*
>>>
>>> email: dinus...@wso2.com 
>>> phone:(+94) 776640275 <%28%2B94%29%2039736>
>>>
>>
>>
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * *
>> *email: **az...@wso2.com* 
>> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
>> *http://blog.afkham.org* 
>> *twitter: **http://twitter.com/afkham_azeez*
>> 
>> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
>> *
>>
>> *Lean . Enterprise . Middleware*
>>
>
>
>
> --
> Kasun Indrasiri
> Software Architect
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> cell: +94 77 556 5206
> Blog : http://kasunpanorama.blogspot.com/
>



-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* *
*email: **az...@wso2.com* 
* cell: +94 77 3320919blog: **http://blog.afkham.org*

*twitter: **http://twitter.com/afkham_azeez*

*linked-in: **http://lk.linkedin.com/in/afkhamazeez
*

*Lean . Enterprise . Middleware*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Incorporated carbon-feature-plugin-2.0.0-m1 in MSS and GW projects

2015-10-22 Thread Kasun Indrasiri
Should we go ahead with this change?

On Mon, Oct 19, 2015 at 5:01 PM, Afkham Azeez  wrote:

> I am seeing a lot of introduction of new tags.
>
> e.g. 1. org.wso2.carbon.p2.category.type:server is now written as
>
> org.wso2.carbon.p2.category.type
> server
>
>
> 2.
> javax.ws.rs:javax.ws.rs-api
>
> is now written as. Also we have the additional burden of specifying the
> version again.
>
> 
>javax.ws.rs-api
> ${rs-api.version}
> 
>
> Why have we made the configuration more verbose? More XML tags is not
> necessarily better.
>
>
> On Mon, Oct 19, 2015 at 3:42 PM, Dinusha Boteju  wrote:
>
>> Hi all,
>>
>> I have updated the pom files in WSO2 MSS and WSO2 GW projects to
>> incorporate carbon-feature-plugin 2.0.0-m1 and sent pull requests to
>> relevant repositories.
>>
>> jira link for MSS : https://wso2.org/jira/browse/WMS-2
>> PR link for MSS : https://github.com/wso2/product-mss/pull/14
>>
>> jira link for GW   : https://wso2.org/jira/browse/WGW-1
>> 
>> PR link for GW   : https://github.com/wso2/product-gw/pull/6
>>
>> Best regards,
>> --
>> *Dinusha Boteju*
>> *WSO2, Inc. http://wso2.com  *
>> *lean.enterprise.middleware.*
>>
>> email: dinus...@wso2.com 
>> phone:(+94) 776640275 <%28%2B94%29%2039736>
>>
>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * *
> *email: **az...@wso2.com* 
> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
> *http://blog.afkham.org* 
> *twitter: **http://twitter.com/afkham_azeez*
> 
> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
> *
>
> *Lean . Enterprise . Middleware*
>



-- 
Kasun Indrasiri
Software Architect
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

cell: +94 77 556 5206
Blog : http://kasunpanorama.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Incorporated carbon-feature-plugin-2.0.0-m1 in MSS and GW projects

2015-10-19 Thread Afkham Azeez
I am seeing a lot of introduction of new tags.

e.g. 1. org.wso2.carbon.p2.category.type:server is now written as

org.wso2.carbon.p2.category.type
server


2.
javax.ws.rs:javax.ws.rs-api

is now written as. Also we have the additional burden of specifying the
version again.


   javax.ws.rs-api
${rs-api.version}


Why have we made the configuration more verbose? More XML tags is not
necessarily better.


On Mon, Oct 19, 2015 at 3:42 PM, Dinusha Boteju  wrote:

> Hi all,
>
> I have updated the pom files in WSO2 MSS and WSO2 GW projects to
> incorporate carbon-feature-plugin 2.0.0-m1 and sent pull requests to
> relevant repositories.
>
> jira link for MSS : https://wso2.org/jira/browse/WMS-2
> PR link for MSS : https://github.com/wso2/product-mss/pull/14
>
> jira link for GW   : https://wso2.org/jira/browse/WGW-1
> 
> PR link for GW   : https://github.com/wso2/product-gw/pull/6
>
> Best regards,
> --
> *Dinusha Boteju*
> *WSO2, Inc. http://wso2.com  *
> *lean.enterprise.middleware.*
>
> email: dinus...@wso2.com 
> phone:(+94) 776640275 <%28%2B94%29%2039736>
>



-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* *
*email: **az...@wso2.com* 
* cell: +94 77 3320919blog: **http://blog.afkham.org*

*twitter: **http://twitter.com/afkham_azeez*

*linked-in: **http://lk.linkedin.com/in/afkhamazeez
*

*Lean . Enterprise . Middleware*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Incorporated carbon-feature-plugin-2.0.0-m1 in MSS and GW projects

2015-10-19 Thread Dinusha Boteju
Hi all,

I have updated the pom files in WSO2 MSS and WSO2 GW projects to
incorporate carbon-feature-plugin 2.0.0-m1 and sent pull requests to
relevant repositories.

jira link for MSS : https://wso2.org/jira/browse/WMS-2
PR link for MSS : https://github.com/wso2/product-mss/pull/14

jira link for GW   : https://wso2.org/jira/browse/WGW-1

PR link for GW   : https://github.com/wso2/product-gw/pull/6

Best regards,
-- 
*Dinusha Boteju*
*WSO2, Inc. http://wso2.com  *
*lean.enterprise.middleware.*

email: dinus...@wso2.com 
phone:(+94) 776640275 <%28%2B94%29%2039736>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev