[Carbon-dev] Important: Get all dependency versions from platform pom.xml

Senaka Fernando senaka at wso2.com
Thu Mar 17 01:00:04 PDT 2011


On Thu, Mar 17, 2011 at 1:18 PM, Afkham Azeez <azeez at wso2.com> wrote:

>
>
> On Thu, Mar 17, 2011 at 12:48 PM, Denis Weerasiri <denis at wso2.com> wrote:
>
>> Hi Is there a reason to use different versions in root POM,
>> <orbit.version.h2.engine>1.2.140.wso2v2</orbit.version.h2.engine>
>>
>> and in component/POM
>> <wso2.h2.orbit.version>1.2.140.wso2v1</wso2.h2.orbit.version> ?
>>
>
> No.
>

+1. Obviously this is wrong, :-), and clumsiness is the cause, :-).

Denis, put it like this. Though we define multiple versions of Foo we only
have one of those in the packs. We need to make sure that we have that
version in the POMs. There is absolutely no point in compiling against X and
running against Y, which also might lead in to other issues.

Thanks,
Senaka.

>
>
>>
>>
>> On Thu, Mar 17, 2011 at 12:28 PM, Denis Weerasiri <denis at wso2.com> wrote:
>>
>>> For now I'm keeping this sheet [1], which contains the duplications
>>> found. Some versions have been replicated in both features and component
>>> root POMs.
>>>
>>> [1] -
>>> https://spreadsheets.google.com/a/wso2.com/ccc?hl=en&key=tZezqrcbbfV8LCmcH5yt1cQ&hl=en#gid=0
>>>
>>>
>>> On Thu, Mar 17, 2011 at 11:42 AM, Srinath Perera <srinath at wso2.com>wrote:
>>>
>>>> Hi Azeez,
>>>>
>>>> IMO we need some script that search our build and find the problem.
>>>>
>>>> We should be able to use http://xmlstar.sourceforge.net or something
>>>> similar to search through the poms and fine problems. For example, it
>>>> is matter of listing all the pom that has versions in the dependency
>>>> in this case.
>>>>
>>>> IMO we are good at fixing stuff, but not in keeping them that way. We
>>>> need a way out.
>>>>
>>>> Thanks
>>>> Srinath
>>>>
>>>> p.s. myself and predeep were trying but have trouble with xmlstar
>>>> project as it only return a one result and ignore others. Worst case
>>>> we can use xalan and write  a java program.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Wed, Mar 16, 2011 at 8:03 PM, Afkham Azeez <azeez at wso2.com> wrote:
>>>> > RMs,
>>>> > By tomorrow noon, everybody should confirm that your respective
>>>> products do
>>>> > not have hard coded dependencies, and all dependencies are inherited
>>>> from
>>>> > the platform POM. Expecting individual responses.
>>>> > Thanks
>>>> > Azeez
>>>> > On Wed, Mar 16, 2011 at 7:48 PM, Afkham Azeez <azeez at wso2.com> wrote:
>>>> >>
>>>> >> Even though most of the product builds are working fine now, I
>>>> noticed
>>>> >> that some people have hardcoded the dep versions instead of using
>>>> platform
>>>> >> pom properties. If you do this, we will have to put in a lot of
>>>> effort when
>>>> >> we change versions in the future.
>>>> >> So I urge everybody who fixed POMs today, to revisit these POMs and
>>>> use
>>>> >> the relevant properties.
>>>> >>
>>>> >> --
>>>> >> Afkham Azeez
>>>> >> Senior Software Architect & Senior Manager; WSO2, Inc.;
>>>> http://wso2.com,
>>>> >>
>>>> >> Member; Apache Software Foundation; http://www.apache.org/
>>>> >> email: azeez at wso2.com cell: <%2B94%2077%203320919><%2B94%2077%203320919><%2B94%2077%203320919>+94
>>>> 77 3320919
>>>> >> blog: http://blog.afkham.org
>>>> >> twitter: http://twitter.com/afkham_azeez
>>>> >> linked-in: http://lk.linkedin.com/in/afkhamazeez
>>>> >>
>>>> >> Lean . Enterprise . Middleware
>>>> >
>>>> >
>>>> >
>>>> > --
>>>> > Afkham Azeez
>>>> > Senior Software Architect & Senior Manager; WSO2, Inc.;
>>>> http://wso2.com,
>>>> >
>>>> > Member; Apache Software Foundation; http://www.apache.org/
>>>> > email: azeez at wso2.com cell: <%2B94%2077%203320919><%2B94%2077%203320919><%2B94%2077%203320919>+94
>>>> 77 3320919
>>>> > blog: http://blog.afkham.org
>>>> > twitter: http://twitter.com/afkham_azeez
>>>> > linked-in: http://lk.linkedin.com/in/afkhamazeez
>>>> >
>>>> > Lean . Enterprise . Middleware
>>>> >
>>>> > _______________________________________________
>>>> > Carbon-dev mailing list
>>>> > Carbon-dev at wso2.org
>>>> > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>> >
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> ============================
>>>> Srinath Perera, Ph.D.
>>>>   Senior Software Architect, WSO2 Inc.
>>>>   Visiting Faculty, University of Moratuwa
>>>>   Member, Apache Software Foundation
>>>>   Research Scientist, Lanka Software Foundation
>>>>   Blog: http://srinathsview.blogspot.com/
>>>> _______________________________________________
>>>> Carbon-dev mailing list
>>>> Carbon-dev at wso2.org
>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>
>>>
>>>
>>> --
>>> Thanks,
>>> Denis
>>> ----------------------------------------------------------
>>> *Denis Weerasiri*
>>> Software Engineer; WSO2 Inc.; http://wso2.com,
>>> *email: denis <http://goog_277208233/>** [AT] wso2.com*<http://wso2.com/>
>>> *
>>> blog: **http://ddweerasiri.blogspot.com*<http://ddweerasiri.blogspot.com/>
>>> *
>>> twitter: **http://twitter.com/ddweerasiri*<http://twitter.com/ddweerasiri>
>>> *
>>> linked-in: **http://lk.linkedin.com/in/ddweerasiri*<http://lk.linkedin.com/in/ddweerasiri>
>>>
>>>
>>
>>
>> --
>> Thanks,
>> Denis
>> ----------------------------------------------------------
>> *Denis Weerasiri*
>> Software Engineer; WSO2 Inc.; http://wso2.com,
>> *email: denis <http://goog_277208233/>** [AT] wso2.com*<http://wso2.com/>
>> *
>> blog: **http://ddweerasiri.blogspot.com*<http://ddweerasiri.blogspot.com/>
>> *
>> twitter: **http://twitter.com/ddweerasiri*<http://twitter.com/ddweerasiri>
>> *
>> linked-in: **http://lk.linkedin.com/in/ddweerasiri*<http://lk.linkedin.com/in/ddweerasiri>
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev at wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Afkham Azeez*
> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
> *
> *
> *Member; Apache Software Foundation; **http://www.apache.org/*<http://www.apache.org/>
> *
> email: **azeez at wso2.com* <azeez at wso2.com>* cell: +94 77 3320919
> 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*
> *
> *
> *Lean . Enterprise . Middleware*
>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev at wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
*Senaka Fernando*
Product Manager - WSO2 Governance Registry;
Associate Technical Lead; WSO2, Inc.; http://wso2.com*
Member; Apache Software Foundation; http://apache.org

E-mail: senaka AT wso2.com
**P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
Linked-In: http://www.linkedin.com/in/senakafernando

*Lean . Enterprise . Middleware
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.wso2.org/pipermail/carbon-dev/attachments/20110317/9cdd4a35/attachment.htm>


More information about the Carbon-dev mailing list