Hi all,

This has been fixed with r187529. The root cause was that axis2-client
dependency with the proper version was missing.

However, since the wsdl2java tool errors would not trigger a maven build
error, the build continues with half complete jars. The first stubs to get
built are the CEP stubs which have axis2 as a dependency and in the build
order, cartridge-autoscaler stub, which is the next stub, does not have a
dependency on axis2 client. The RSS Manager stub lists axis2-client only as
a dependency and hence by that, both jars/poms needed for
axis2/axis2-client will be downloaded to the local repo in a clean repo
build.

Hence from that point onwards, the stubs build without any issue since the
dependencies are already there in the local repo (Hence build error only in
clean repo). This also why the stubs would build without any issue on the
second pass (not because going inside and building manually.. :-)).

I think similar issue has been encountered in past as well [1,2]. Also, I
think it is better if we could fix all the stubs to have the necessary
dependencies properly. Otherwise we are depending on the first stub on the
reactor build order to be a "well-formed" stub to make sure the whole build
runs properly.. :-)

You can easily verify if the stub has the correct dependencies or not by
removing the axis2,axis2-client inside org/apache/wso2/ in m2 repo and
triggering a build of the stub. The stub should download the already
released axis2 versions complete the build.

Thanks,
Lasantha

[1] http://wso2.com/mailarchive/dev/2012-August/010118.html
[2] http://mail.wso2.org/mailarchive/commits/2012-October/018967.html


On 7 October 2013 22:39, Mohanadarshan Vivekanandalingam <[email protected]>wrote:

> Hi Subash & Isuru,
>
> Sorry for the inconvenience... Lasantha and me working to find out the
> root cause of the issue..
> It is little bit strange.. We'll fix it asap..
>
> Thanks,
> Mohan
>
>
>
> On Mon, Oct 7, 2013 at 10:19 PM, Subash Chaturanga <[email protected]>wrote:
>
>> In a clean repo, this fails in about 4 places and very painful to build.
>> Please trigger a clean repo and fix those.
>>
>>
>> On Mon, Oct 7, 2013 at 9:55 PM, Subash Chaturanga <[email protected]>wrote:
>>
>>> Thanks Isuru,
>>> Managed to build them manually as done in previous cases.
>>>
>>>
>>> On Mon, Oct 7, 2013 at 9:46 PM, Isuru Udana <[email protected]> wrote:
>>>
>>>> Hi Subash,
>>>>
>>>> This issue is existing for nearly 3 weeks now. Lasantha did a fix few
>>>> days ago and it seems like it hasn't worked.
>>>> For now you can go inside the missing stubs directories and build them.
>>>> There are 3-4 stubs which you need to build in that way.
>>>>
>>>>
>>>>
>>>> On Mon, Oct 7, 2013 at 8:41 PM, Subash Chaturanga <[email protected]>wrote:
>>>>
>>>>> Hi CEP team,
>>>>> Getting this in clean repo. Please fix.
>>>>>
>>>>> O] BUILD FAILURE
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Total time: 13:18.449s
>>>>> [INFO] Finished at: Mon Oct 07 15:07:46 UTC 2013
>>>>> [INFO] Final Memory: 1331M/1610M
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [ERROR] Failed to execute goal
>>>>> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
>>>>> (default-compile) on project
>>>>> org.wso2.carbon.event.input.adaptor.manager.ui: Compilation failure:
>>>>> Compilation failure:
>>>>> [ERROR]
>>>>> /build/branches/platform/components/event-processing/event-input-adaptor/org.wso2.carbon.event.input.adaptor.manager.ui/1.0.0/src/main/java/org/wso2/carbon/event/input/adaptor/manager/ui/InputEventAdaptorUIUtils.java:[8,55]
>>>>> package org.wso2.carbon.event.input.adaptor.manager.stub does not exist
>>>>> [ERROR]
>>>>> /build/branches/platform/components/event-processing/event-input-adaptor/org.wso2.carbon.event.input.adaptor.manager.ui/1.0.0/src/main/java/org/wso2/carbon/event/input/adaptor/manager/ui/InputEventAdaptorUIUtils.java:[16,18]
>>>>> cannot find symbol
>>>>> [ERROR] symbol  : class InputEventAdaptorManagerAdminServiceStub
>>>>> [ERROR] location: class
>>>>> org.wso2.carbon.event.input.adaptor.manager.ui.InputEventAdaptorUIUtils
>>>>> [ERROR]
>>>>> /build/branches/platform/components/event-processing/event-input-adaptor/org.wso2.carbon.event.input.adaptor.manager.ui/1.0.0/src/main/java/org/wso2/carbon/event/input/adaptor/manager/ui/InputEventAdaptorUIUtils.java:[25,8]
>>>>> cannot find symbol
>>>>> [ERROR] symbol  : class InputEventAdaptorManagerAdminServiceStub
>>>>> [ERROR] location: class
>>>>> org.wso2.carbon.event.input.adaptor.manager.ui.InputEventAdaptorUIUtils
>>>>> [ERROR]
>>>>> /build/branches/platform/components/event-processing/event-input-adaptor/org.wso2.carbon.event.input.adaptor.manager.ui/1.0.0/src/main/java/org/wso2/carbon/event/input/adaptor/manager/ui/InputEventAdaptorUIUtils.java:[25,60]
>>>>> cannot find symbol
>>>>> [ERROR] symbol  : class InputEventAdaptorManagerAdminServiceStub
>>>>> [ERROR] location: class
>>>>> org.wso2.carbon.event.input.adaptor.manager.ui.InputEventAdaptorUIUtils
>>>>> [ERROR] -> [Help 1]
>>>>> [ERROR]
>>>>> [ERROR] To see the full stack trace o
>>>>>
>>>>> --
>>>>> Thanks
>>>>> /subash
>>>>>
>>>>> *Subash Chaturanga*
>>>>> Senior Software Engineer :Integration TG; WSO2 Inc. http://wso2.com
>>>>>
>>>>> email: [email protected]
>>>>> blog:  http://subashsdm.blogspot.com/
>>>>> twitter: @subash89
>>>>> phone: +9477 2225922
>>>>> Lean . Enterprise . Middleware
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Isuru Udana*
>>>> *
>>>>  *
>>>> Senior *
>>>> Software Engineer
>>>> *
>>>> WSO2 Inc.; http://wso2.com
>>>> email: [email protected] cell: +94 77 3791887
>>>> blog: http://mytecheye.blogspot.com/
>>>> twitter: http://twitter.com/isudana
>>>>
>>>
>>>
>>>
>>> --
>>> Thanks
>>> /subash
>>>
>>> *Subash Chaturanga*
>>> Senior Software Engineer :Integration TG; WSO2 Inc. http://wso2.com
>>>
>>> email: [email protected]
>>> blog:  http://subashsdm.blogspot.com/
>>> twitter: @subash89
>>> phone: +9477 2225922
>>> Lean . Enterprise . Middleware
>>>
>>
>>
>>
>> --
>> Thanks
>> /subash
>>
>> *Subash Chaturanga*
>> Senior Software Engineer :Integration TG; WSO2 Inc. http://wso2.com
>>
>> email: [email protected]
>> blog:  http://subashsdm.blogspot.com/
>> twitter: @subash89
>> phone: +9477 2225922
>> Lean . Enterprise . Middleware
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *V. Mohanadarshan*
> *Software Engineer,*
> *Data Technologies Team,*
> *WSO2, Inc. http://wso2.com *
> *lean.enterprise.middleware.*
> *
> *
> email: [email protected]
> phone:(+94) 771117673
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Lasantha Fernando*
Software Engineer - Data Technologies Team
WSO2 Inc. http://wso2.com

email: [email protected]
mobile: (+94) 71 5247551
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to