Hi Hasanthi,

First build it without running unit test cases using following command.

mvn clean install -Dmaven.test.skip=true

after the build success test it using.

mvn test

On Sat, Feb 21, 2015 at 8:52 AM, Hasanthi Purnima Dissanayake <
[email protected]> wrote:

> Hi chathura,
> Thank you for the response. But I skipped the unit test cases when
> building.
>
> Hasanthi Dissanayake
>
> Software Engineer | WSO2
>
> E: [email protected] <[email protected]>
> M :0718407133| http://wso2.com <http://wso2.com/>
>
> On Fri, Feb 20, 2015 at 6:44 PM, Chathura Priyankara <[email protected]>
> wrote:
>
>> Hi Hasanthi,
>>
>> Try to build it without running unit test cases using following command.
>>
>> mvn clean install -Dmaven.test.skip=true
>>
>> Thanks!
>> Best Regards,
>>
>> On Fri, Feb 20, 2015 at 2:54 PM, Hasanthi Purnima Dissanayake <
>> [email protected]> wrote:
>>
>>> Hi Manorama,
>>> I built all the patches in kernel that you have mentioned in [1]. As I
>>> said earlier all the orbit, kernel and platform built successfully. But I
>>> can't build the ESB product.
>>>
>>> [1]
>>> https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/patches/
>>>
>>> Thanks.
>>>
>>> Hasanthi Dissanayake
>>>
>>> Software Engineer | WSO2
>>>
>>> E: [email protected] <[email protected]>
>>> M :0718407133| http://wso2.com <http://wso2.com/>
>>>
>>> On Fri, Feb 20, 2015 at 2:42 PM, Manorama Perera <[email protected]>
>>> wrote:
>>>
>>>> Hi Hasanthi,
>>>>
>>>> Before building the product you have build the respective kernal
>>>> patches for the particular chunk in which the product is released.
>>>> You can checkout the kernel patches from here[1].
>>>> You can refer [2] to find out the patches that need to be built for a
>>>> given chunk.
>>>>
>>>> [1]
>>>> https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/patches/
>>>> [2] http://wso2.com/products/carbon/release-matrix/
>>>>
>>>> Thanks
>>>>
>>>> On Fri, Feb 20, 2015 at 2:25 PM, Hasanthi Purnima Dissanayake <
>>>> [email protected]> wrote:
>>>>
>>>>> Hi All,
>>>>> I need to build ESB from source. I checked out orbit , kernel and
>>>>> platform from [1],[2] and [3] and built them as mentioned order. All the
>>>>> three directories built successfully. But when I'm building the ESB 
>>>>> product
>>>>> inside ~/Platform/products/esb/4.8.1 it fails with below error.
>>>>>
>>>>> [INFO] Reactor Summary:
>>>>> [INFO]
>>>>> [INFO] WSO2 ESB - Aggregator Module ...................... SUCCESS
>>>>> [0.286s]
>>>>> [INFO] WSO2 ESB - Styles Parent .......................... SUCCESS
>>>>> [0.022s]
>>>>> [INFO] WSO2 ESB - Styles ................................. SUCCESS
>>>>> [1.551s]
>>>>> [INFO] WSO2 Stratos ESB - Styles ......................... SUCCESS
>>>>> [0.323s]
>>>>> [INFO] WSO2 ESB - Samples Parent ......................... SUCCESS
>>>>> [0.287s]
>>>>> [INFO] WSO2 ESB - Samples ................................ FAILURE
>>>>> [1.123s]
>>>>> [INFO] WSO2 Stratos ESB - Samples ........................ SKIPPED
>>>>> [INFO] WSO2 ESB - Features Parent ........................ SKIPPED
>>>>> [INFO] WSO2 ESB - Features Aggregator Module ............. SKIPPED
>>>>> [INFO] WSO2 ESB - Styles Features ........................ SKIPPED
>>>>> [INFO] WSO2 ESB - Samples Features ....................... SKIPPED
>>>>> [INFO] WSO2 Stratos ESB - Login User Interface ........... SKIPPED
>>>>> [INFO] WSO2 Stratos ESB - Features Aggregator Module ..... SKIPPED
>>>>> [INFO] WSO2 Stratos ESB - Login UI Feature ............... SKIPPED
>>>>> [INFO] WSO2 Stratos ESB - Styles Features ................ SKIPPED
>>>>> [INFO] WSO2 Stratos ESB - Samples Features ............... SKIPPED
>>>>> [INFO] WSO2 ESB - P2 Profile Generation .................. SKIPPED
>>>>> [INFO] WSO2 ESB - Distribution ........................... SKIPPED
>>>>> [INFO] WSO2 ESB - Integration Parent ..................... SKIPPED
>>>>> [INFO] ESB Test Service Module ........................... SKIPPED
>>>>> [INFO] Integration Commons Module - ESB test Module ...... SKIPPED
>>>>> [INFO] WSO2 ESB Integration Test Core .................... SKIPPED
>>>>> [INFO] ESB Mediators Test Module - 1 ..................... SKIPPED
>>>>> [INFO] ESB Mediators Test Module - 2 ..................... SKIPPED
>>>>> [INFO] ESB test Module - Sample .......................... SKIPPED
>>>>> [INFO] ESB test Module-Transport ......................... SKIPPED
>>>>> [INFO] ESB test Module-Other ............................. SKIPPED
>>>>> [INFO] ESB test Module-Service ........................... SKIPPED
>>>>> [INFO] ESB UI Test Module ................................ SKIPPED
>>>>> [INFO] Integration Test Reporting ........................ SKIPPED
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] BUILD FAILURE
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Total time: 5.404s
>>>>> [INFO] Finished at: Fri Feb 20 12:18:07 IST 2015
>>>>> [INFO] Final Memory: 18M/204M
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [ERROR] Failed to execute goal on project org.wso2.esb.samples: Could
>>>>> not resolve dependencies for project
>>>>> org.wso2.esb:org.wso2.esb.samples:bundle:4.8.1: Failed to collect
>>>>> dependencies for [org.apache.synapse:synapse-core:jar:2.1.2-wso2v1
>>>>> (compile), org.apache.synapse:synapse-commons:jar:2.1.2-wso2v1 (compile),
>>>>> org.apache.ws.security.wso2:wss4j:jar:1.5.11.wso2v3 (compile),
>>>>> org.apache.rampart.wso2:rampart-core:jar:1.6.1.wso2v10 (compile),
>>>>> org.apache.geronimo.specs.wso2:geronimo-jms_1.1_spec:jar:1.1.0.wso2v1
>>>>> (compile)]: Failed to read artifact descriptor for
>>>>> org.apache.ws.security.wso2:wss4j:jar:1.5.11.wso2v3: Failure to find
>>>>> org.wso2.carbon:carbon-parent:pom:4.0.0-SNAPSHOT in
>>>>> http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in
>>>>> the local repository, resolution will not be reattempted until the update
>>>>> interval of wso2-nexus has elapsed or updates are forced -> [Help 1]
>>>>> [ERROR]
>>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>>>>> the -e switch.
>>>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>>>> [ERROR]
>>>>> [ERROR] For more information about the errors and possible solutions,
>>>>> please read the following articles:
>>>>> [ERROR] [Help 1]
>>>>> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
>>>>> [ERROR]
>>>>> [ERROR] After correcting the problems, you can resume the build with
>>>>> the command
>>>>> [ERROR]   mvn <goals> -rf :org.wso2.esb.samples
>>>>>
>>>>> [1] http://svn.wso2.org/repos/wso2/carbon/orbit/trunk/
>>>>> [2] http://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/
>>>>> [3] http://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/
>>>>>
>>>>> Please help me to fix the issue.
>>>>>
>>>>> Thanks and Regards,
>>>>>
>>>>> Hasanthi Dissanayake
>>>>>
>>>>> Software Engineer | WSO2
>>>>>
>>>>> E: [email protected] <[email protected]>
>>>>> M :0718407133| http://wso2.com <http://wso2.com/>
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Manorama Perera
>>>> Software Engineer
>>>> WSO2, Inc.;  http://wso2.com/
>>>> Mobile : +94716436216
>>>>
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Chathura Priyankara
>> Software Engineer | WSO2 Inc.
>> Mobile : +94718795340
>> Blog : www.codeoncloud.blogspot.com
>>
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*S.Elilmatha*
Associate  Software Engineer,

WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

Mobile 0779842221.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to