On Thu, Oct 22, 2015 at 12:47 AM, Sameera Jayasoma <same...@wso2.com> 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.
>
>
> *<bundleDef>javax.ws.rs:javax.ws.rs-api</bundleDef>*
>
> vs
>
> *<bundle>*
> *   <symbolicName>javax.ws.rs-api</symbolicName>*
> *    <version>${rs-api.version}</version>*
> *</bundle>*
>
>
> 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 <az...@wso2.com> 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 <ka...@wso2.com> wrote:
>>
>>> Should we go ahead with this change?
>>>
>>> On Mon, Oct 19, 2015 at 5:01 PM, Afkham Azeez <az...@wso2.com> 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
>>>>
>>>> <name>org.wso2.carbon.p2.category.type</name>
>>>> <value>server</value>
>>>>
>>>>
>>>> 2.
>>>> <bundleDef>javax.ws.rs:javax.ws.rs-api</bundleDef>
>>>>
>>>> is now written as. Also we have the additional burden of specifying the
>>>> version again.
>>>>
>>>> <bundle>
>>>>    <symbolicName>javax.ws.rs-api</symbolicName>
>>>>     <version>${rs-api.version}</version>
>>>> </bundle>
>>>>
>>>> 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 <dinus...@wso2.com>
>>>> 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
>>>>> <https://wso2.org/jira/browse/WMS-2>
>>>>> PR link for GW   : https://github.com/wso2/product-gw/pull/6
>>>>>
>>>>> Best regards,
>>>>> --
>>>>> *Dinusha Boteju*
>>>>> *WSO2, Inc. http://wso2.com <http://wso2.com/> *
>>>>> *lean.enterprise.middleware.*
>>>>>
>>>>> email: dinus...@wso2.com <ruw...@wso2.com>
>>>>> phone:(+94) 776640275 <%28%2B94%29%20777739736>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Afkham Azeez*
>>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>>> Member; Apache Software Foundation; http://www.apache.org/
>>>> * <http://www.apache.org/>*
>>>> *email: **az...@wso2.com* <az...@wso2.com>
>>>> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
>>>> *http://blog.afkham.org* <http://blog.afkham.org>
>>>> *twitter: **http://twitter.com/afkham_azeez*
>>>> <http://twitter.com/afkham_azeez>
>>>> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
>>>> <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/
>> * <http://www.apache.org/>*
>> *email: **az...@wso2.com* <az...@wso2.com>
>> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
>> *http://blog.afkham.org* <http://blog.afkham.org>
>> *twitter: **http://twitter.com/afkham_azeez*
>> <http://twitter.com/afkham_azeez>
>> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
>> <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,
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

Reply via email to