Hi Azeez,

On Thu, Mar 1, 2012 at 9:52 AM, Afkham Azeez <az...@wso2.com> wrote:

> Go ahead. Can you check & exclude other unnecessary jars as well?
>
+1,
There are only two dependencies in security-verifier module (axis2 and
carbon core). As maven axis2 aar plugin adds all the jars in maven classpath
in to the lib dir, the only way I could find to exclude a dependency from
being packaged inside lib is to give a scope to the dependency (which will
exclude all its related child dependencies)

Because of that, if I do the same to carbon core dependency, all carbon
core and axis2 dependencies will not get populated into service/lib, which
is still should be fine as I feel. Isn't it? Is there any usage of having
carbon core dependencies inside a service/lib ?


>  --
> Afkham Azeez
> Sent from my phone
> On Feb 29, 2012 10:55 PM, "Subash Chaturanga" <sub...@wso2.com> wrote:
>
>> Hi Azeez,
>> For some reason GReg has enabled child first class loading and having
>> problems in deploying axis2 web services. Though any carbon server
>> is expected to be able to deploy axis2 web services, greg is not capable
>> of deploying  SecVerifier.aar  due to above reason.
>>
>> To get rid from problems due to unnecessary class loading from
>> SecVerifier/lib, I have changed the integration/security-verifier/pom to
>> exclude axis2 jar from packaging inside the aar, but to use that only in
>> compile time.
>> And I tested it to BRS as well. Shall I commit it to trunk ?
>>
>> Thanks
>> --
>>
>> Subash Chaturanga
>> Software Engineer
>> WSO2 Inc. http://wso2.com
>>
>> email - sub...@wso2.com
>> phone - 077 2225922
>>
>>


-- 

Subash Chaturanga
Software Engineer
WSO2 Inc. http://wso2.com

email - sub...@wso2.com
phone - 077 2225922
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to