Thank you very much!

And what if I also want to build IS and BPS? Or add them as features to ESB
4.8.0 that I just built? Their distribution folders don't have target
folders built even though -Dproduct= wasn't used.
How does one build those, or make the P2 repository to be able to add them
as features?



2013/11/28 Kasun Gajasinghe <[email protected]>

> Hi Janis,
>
> It seems the ESB distribution is built, and now you are at the final step.
> The ESB integration test module is failing to build because it can't find
> the dependencies from automation framework. For that, you should've build
> the test-automation-framework [1]. It seems someone has commented out this
> module this from the chunk 4 platform root pom. [2] You will have to
> manually build for now. The ESB packs can be found
> at turing/products/esb/4.8.0/modules/distribution/target folder.
>
> Shafreen, can you have a look at this, and re-add the
> test-automation-framework please?
>
> [1]
> https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/product-releases/chunk-04/platform-integration/test-automation-framework
> [2]
> https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/product-releases/chunk-04/pom.xml
>
> Thanks,
> KasunG
>
>
>
> On Thu, Nov 28, 2013 at 2:55 PM, Janis Jansons <[email protected]> wrote:
>
>> Still failed near the end:
>>
>> [INFO] WSO2 ESB Integration Test Core .................... SUCCESS
>> [30.131s]
>> [INFO] ESB test Module ..............................
>> ..... FAILURE [29.959s]
>> [INFO] WSO2 Carbon - Releases - products - Aggregator Module  SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 49:52.744s
>> [INFO] Finished at: Thu Nov 28 11:20:05 EET 2013
>> [INFO] Final Memory: 784M/2969M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal on project org.wso2.carbon.esb.tests:
>> Could not resolve dependencies for project
>> org.wso2.esb:org.wso2.carbon.esb.tests:jar:4.8.0: The following artifacts
>> could not be resolved:
>> org.wso2.carbon.automation:org.wso2.carbon.automation.api:jar:4.2.3,
>> org.wso2.carbon.automation:org.wso2.carbon.automation.core:jar:4.2.3,
>> org.wso2.carbon.automation:org.wso2.carbon.automation.utils:jar:4.2.3:
>> Could not find artifact
>> org.wso2.carbon.automation:org.wso2.carbon.automation.api:jar:4.2.3 in
>> wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/) ->
>> [Help 1]
>>
>>
>> 2013/11/27 Kasun Gajasinghe <[email protected]>
>>
>>> Hi Janis,
>>>
>>> I think we haven't maintained the product profiles for a while. So, the
>>> -Dproduct=esb bits won't work properly. I think that explains why maven
>>> couldn't find some jar files. Please build it without the -Dproduct=esb
>>> property.
>>>
>>>
>>> On Wed, Nov 27, 2013 at 8:38 PM, Janis Jansons <[email protected]> wrote:
>>>
>>>> Thank you for your reply!
>>>>
>>>> I did try to build it on Windows 7, Debian (7.2.0 - stable), Archlinux
>>>> and Ubuntu 13.04.
>>>> All distros were 64bit, on all Linux distros I used
>>>> jdk-6u45-linux-x64.bin
>>>>
>>>> It failed on all of them.
>>>>
>>>> Failed on Archlinux when compiling product/platform-releases/chunk-04/
>>>>
>>>> Failed on Windows 7 when compiling product/platform-releases/chunk-04/
>>>>
>>>> Failed on clean Debian 7.2.0 when compiling
>>>> product/platform-releases/chunk-04/:
>>>>
>>>> [ERROR] Failed to execute goal on project
>>>> org.wso2.carbon.logging.service: Could not resolve dependencies for project
>>>> org.wso2.carbon:org.wso2.carbon.logging.service:bundle:4.2.1: Could not
>>>> find artifact org.hectorclient.wso2:hector-core:jar:1.1.4.wso2v1 in
>>>> wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
>>>> -> [Help 1]
>>>>
>>>> Failed on clean Ubuntu 13.04 when compiling
>>>> product/platform-releases/chunk-04:
>>>>
>>>> [ERROR] Failed to execute goal on project
>>>> org.wso2.carbon.logging.service: Could not resolve dependencies for project
>>>> org.wso2.carbon:org.wso2.carbon.logging.service:bundle:4.2.1: Could not
>>>> find artifact org.hectorclient.wso2:hector-core:jar:1.1.4.wso2v1 in
>>>> wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
>>>> -> [Help 1]
>>>>
>>>>
>>>> Any ideas?
>>>> Please test it on a clean setup.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> 2013/11/27 Shafreen Anfar <[email protected]>
>>>>
>>>>> Hi Janis,
>>>>>
>>>>> There were some build breaks and we have fixed it now. Can you please
>>>>> take a svn up and try.
>>>>>
>>>>> Please find the inline comments below.
>>>>>
>>>>>
>>>>> On Wed, Nov 27, 2013 at 2:37 PM, Janis Jansons <[email protected]>wrote:
>>>>>
>>>>>> Forgot to select "reply all".
>>>>>>
>>>>>> The questions were:
>>>>>>
>>>>>> Are you doing it differently?
>>>>>>
>>>>> No
>>>>>
>>>>>
>>>>>>
>>>>>> What OS/Distro version are you using?
>>>>>>
>>>>> ubuntu 13.04
>>>>>
>>>>>
>>>>>> Maven version?
>>>>>>
>>>>> Maven 3.0.3
>>>>>
>>>>>
>>>>>>  Ant version?
>>>>>> Java version?
>>>>>>
>>>>> 1.6.0_31
>>>>>
>>>>>
>>>>>>  Do you use different maven repos?
>>>>>>
>>>>> No
>>>>>
>>>>>
>>>>>>
>>>>>> Thanks!
>>>>>>
>>>>>>
>>>>>> 2013/11/27 Kasun Indrasiri <[email protected]>
>>>>>>
>>>>>>> Hi Janis,
>>>>>>>
>>>>>>> We have built chunk 04 on clean repo recently and we are about to
>>>>>>> build it again in clean repo. We will rebuild and get back to you.
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Nov 26, 2013 at 8:34 PM, Janis Jansons <[email protected]>wrote:
>>>>>>>
>>>>>>>>  Hi!
>>>>>>>>
>>>>>>>> I have spent a lot of time trying to build latest WSO2 ESB without
>>>>>>>> having any luck.
>>>>>>>>
>>>>>>>> I have read all there is on StackOwerflow, Google'd the hell out of
>>>>>>>> it but still - no success.
>>>>>>>>
>>>>>>>> I managed to build "orbit" and "kernel" for 4.2.0 (turing) tags and
>>>>>>>> branches and patches for kernel in 4.2.0 branch but the platform just 
>>>>>>>> won't
>>>>>>>> build.
>>>>>>>>
>>>>>>>> Even now, when chunk04 is frozen - still unable to build the
>>>>>>>> platform.
>>>>>>>>
>>>>>>>> And it seems like the build system (bamboo) is failing all the time
>>>>>>>> also so I don't understand how you manage to build it.
>>>>>>>>
>>>>>>>>
>>>>>>>> My system:
>>>>>>>> Windows 7 (64bit)
>>>>>>>> Java JDK 1.6.0 - 45 (64bit)
>>>>>>>> MAVEN_OPTS: -Xms768m -Xmx3072m -XX:MaxPermSize=1200m
>>>>>>>> Maven 3.0.5
>>>>>>>> Ant 1.9.2
>>>>>>>>
>>>>>>>>
>>>>>>>> Steps I took:
>>>>>>>> Removed existing .m2 directory.
>>>>>>>> Checked out (using TortoiseSVN) from:
>>>>>>>> https://svn.wso2.org/repos/wso2/carbon/orbit/branches/4.2.0 ->
>>>>>>>> orbit
>>>>>>>> https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0 ->
>>>>>>>> kernel
>>>>>>>> https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing ->
>>>>>>>> platform
>>>>>>>>
>>>>>>>>
>>>>>>>> Build steps:
>>>>>>>>
>>>>>>>> cd orbit
>>>>>>>> mvn clean install -Dmaven.test.skip=true -Dproduct=esb
>>>>>>>> # success
>>>>>>>>
>>>>>>>> cd ..\kernel
>>>>>>>> mvn clean install -Dmaven.test.skip=true -Dproduct=esb
>>>>>>>> # success
>>>>>>>>
>>>>>>>> cd patches\patch0001
>>>>>>>> cd ..\kernel
>>>>>>>> mvn clean install -Dmaven.test.skip=true -Dproduct=esb
>>>>>>>> # success
>>>>>>>>
>>>>>>>> cd ..\patch0002
>>>>>>>> mvn clean install -Dmaven.test.skip=true -Dproduct=esb
>>>>>>>> # success
>>>>>>>>
>>>>>>>> cd ..\..\..\platform\product-releases\chunk-04
>>>>>>>> mvn clean install -Dmaven.test.skip=true -Dproduct=esb
>>>>>>>> # failure
>>>>>>>>
>>>>>>>>
>>>>>>>> And the message:
>>>>>>>>
>>>>>>>> [INFO] BUILD FAILURE
>>>>>>>> [INFO]
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> [INFO] Total time: 59:41.519s
>>>>>>>> [INFO] Finished at: Tue Nov 26 16:33:58 EET 2013
>>>>>>>> [INFO] Final Memory: 911M/2602M
>>>>>>>> [INFO]
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> [ERROR] Failed to execute goal on project
>>>>>>>> org.wso2.carbon.esb.mediation.ui.feature: Could not resolve 
>>>>>>>> dependencies
>>>>>>>> for p
>>>>>>>> roject
>>>>>>>> org.wso2.carbon:org.wso2.carbon.esb.mediation.ui.feature:pom:4.2.0: 
>>>>>>>> Could
>>>>>>>> not find artifact org.wso2.carbon:org.w
>>>>>>>> so2.carbon.sequences.ui.feature:zip:4.2.0 in wso2-nexus (
>>>>>>>> http://maven.wso2.org/nexus/content/groups/wso2-public/) -> [He
>>>>>>>> lp 1]
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> And with each chunk and with tags it is a bit different error.
>>>>>>>>
>>>>>>>> Please suggest ways to fix it. It is weird that no one outside your
>>>>>>>> inner circle is able to build a project that is marketed as free and 
>>>>>>>> open
>>>>>>>> source.
>>>>>>>>
>>>>>>>> Best regards,
>>>>>>>> Janis
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Dev mailing list
>>>>>>>> [email protected]
>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Kasun Indrasiri
>>>>>>> Software Architect
>>>>>>> WSO2, Inc.; http://wso2.com
>>>>>>> lean.enterprise.middleware
>>>>>>>
>>>>>>> cell: +94 77 556 5206
>>>>>>> Blog : http://kasunpanorama.blogspot.com/
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> *Shafreen*
>>>>> Software Engineer
>>>>> WSO2 Inc
>>>>> Mobile : 077-556-395-1
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Kasun Gajasinghe*
>>> Software Engineer;
>>> WSO2 Inc.; http://wso2.com
>>>
>>>
>>>  ,
>>> *email: *
>>> *kasung AT spamfree wso2.com <http://wso2.com>   ** cell: **+94 (77)
>>> 678-0813 <%2B94%20%2877%29%20678-0813>*
>>> *linked-in: *http://lk.linkedin.com/in/gajasinghe
>>>
>>>
>>>
>>> *blog: **http://kasunbg.org* <http://kasunbg.org>
>>>
>>>
>>>
>>> *twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>
>>>
>>>
>>>
>>>
>>
>
>
> --
> *Kasun Gajasinghe*
> Software Engineer;
> WSO2 Inc.; http://wso2.com
>
>
>  ,
> *email: *
> *kasung AT spamfree wso2.com <http://wso2.com>   ** cell: **+94 (77)
> 678-0813 <%2B94%20%2877%29%20678-0813>*
> *linked-in: *http://lk.linkedin.com/in/gajasinghe
>
>
>
> *blog: **http://kasunbg.org* <http://kasunbg.org>
>
>
>
> *twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>
>
>
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to