Hi Isuru,

On Wed, Jul 6, 2011 at 3:36 PM, Isuru Suriarachchi <[email protected]> wrote:

>
>
> On Wed, Jul 6, 2011 at 3:28 PM, Afkham Azeez <[email protected]> wrote:
>
>> Please add the WSO2 repository to the settings.xml file in the builder to
>> avoid this issue
>
>
> So the 3.2.1 won't get built OOB and we have to tell users to do the same?
>

Yes,
Then we have to give the settings.xml configuration to users and ask them to
add it.

thanks,

>
>
>>
>> http://maven.apache.org/settings.html#Repositories
>>
>>
>> On Wed, Jul 6, 2011 at 6:34 AM, Supun Malinga <[email protected]> wrote:
>>
>>> Hi azeez,
>>>
>>> Same answer that I gave to amilas above.
>>> We don't build 3.2.0 stuff. Only building patch-release/3.2.1/pom.xml in
>>> a clean repo.
>>>
>>> thanks,
>>>
>>>  On Wed, Jul 6, 2011 at 6:12 AM, Afkham Azeez <[email protected]> wrote:
>>>
>>>>  All the parent poms are supposed to be in the Maven repo, and we do
>>>> not have to build the 3.2.0 components, so why do we need to add
>>>> relativePath. Aren't you running an online build? Are also still building
>>>> 3.2.0 stuff?
>>>>
>>>> ----
>>>> Sent from my phone
>>>> On Jul 1, 2011 9:39 AM, "Supun Malinga" <[email protected]> wrote:
>>>> > Hi folks,
>>>> >
>>>> > Please make sure you have added relative paths in the
>>>> components,features,
>>>> > etc.
>>>> > Otherwise you can't build 3.2.1 patch-release pom in a clean repo.
>>>> >
>>>> >
>>>> > - How to do this,
>>>> >
>>>> > Lets take the system-statistics module. There packaging structure is
>>>> as
>>>> > follows.
>>>> >
>>>> > components/system-statistics$ tree -L 3
>>>> >
>>>> > |-- org.wso2.carbon.statistics
>>>> >
>>>> > | |-- 3.2.0
>>>> >
>>>> > | | |-- pom.xml
>>>> >
>>>> > | | |-- src
>>>> >
>>>> > | | `-- target
>>>> >
>>>> > | `-- 3.2.1
>>>> >
>>>> > | |-- pom.xml
>>>> >
>>>> > | |-- src
>>>> >
>>>> > | `-- target
>>>> >
>>>> > |-- org.wso2.carbon.statistics.ui
>>>> >
>>>> > | `-- 3.2.0
>>>> >
>>>> > | |-- pom.xml
>>>> >
>>>> > | |-- src
>>>> >
>>>> > | `-- target
>>>> >
>>>> > |-- pom.xml
>>>> >
>>>> >
>>>> >
>>>> > So in the *
>>>> >
>>>> components/system-statistics/org.wso2.carbon.statistics/3.2.1/pom.xml*,
>>>> > you need to add the relative paths for the parent pom which is the, *
>>>> > components/system-statistics/pom.xml.*
>>>> > It would be like,
>>>> >
>>>> > <parent>
>>>> > <groupId>org.wso2.carbon</groupId>
>>>> > <artifactId>system-statistics</artifactId>
>>>> > <version>3.2.0</version>
>>>> > <relativePath>../../pom.xml</relativePath>
>>>> > </parent>
>>>> >
>>>> >
>>>> >
>>>> >
>>>> > - How to test if this works
>>>> >
>>>> >
>>>> > 1. back up your existing .m2 repo (or clean the m2 repo) or
>>>>
>>>> > remove/move components/system-statistics/pom.xml from the m2 repo.
>>>>  > 2. goto
>>>> *components/system-statistics/org.wso2.carbon.statistics/3.2.1/* and
>>>>
>>>> > 'mvn clean install'
>>>> >
>>>> >
>>>> > *Please verify all your components that was added into 3.2.1 release.*
>>>> >
>>>> > thanks n regards,
>>>> > --
>>>> > Supun Malinga,
>>>> >
>>>> > Software Engineer,
>>>> > WSO2 Inc.
>>>> > http://wso2.com
>>>> > http://wso2.org
>>>>  > email - [email protected] <[email protected]>
>>>>
>>>> > mobile - 071 56 91 321
>>>>
>>>> _______________________________________________
>>>> Carbon-dev mailing list
>>>> [email protected]
>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Supun Malinga,
>>>
>>> Software Engineer,
>>> WSO2 Inc.
>>> http://wso2.com
>>> http://wso2.org
>>> email - [email protected] <[email protected]>
>>> mobile - 071 56 91 321
>>>
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> [email protected]
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * <http://www.apache.org/>**
>> email: **[email protected]* <[email protected]>* 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
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Isuru Suriarachchi
> Technical Lead & Product Manager, WSO2 Application Server
>
> WSO2 Inc. http://wso2.com
> email : [email protected]
> blog : http://isurues.wordpress.com/
>
> lean . enterprise . middleware
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - [email protected] <[email protected]>
mobile - 071 56 91 321
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to