Hi Raj,

If you need to exclude a particular jar when CA is built, you can use [1]
to do it. See the excludes section under dependencySet. We used the same
method earlier to stop bundling jars with Apache2 incompatible licenses to
CA. What you can do is, add the required http* jar versions to the pom so
that it will be automatically bundled by the maven assembly plugin that we
use in CA, and then use the above method to stop bundling unwanted
versions.

[1]. products/cartridge-agent/modules/distribution/src/main/assembly/bin.xml

On Sun, Oct 19, 2014 at 11:38 AM, Rajkumar Rajaratnam <[email protected]>
wrote:

> Thanks Isuru and Udara.
>
> Yes we are not using these at the moment.
>
> I am planning to implement a solution to track disconnected instances
> (spawned but not tracked by stratos). I need to use httpclient and httpcore
> for accessing instance metadata service (ec2 and openstack). But I need
> later versions. That't why I asked whether we are using this particular
> version anywhere in CA. Seems we are not.
>
>  I will update the thread with more details later.
>
> Thanks.
>
> On Sat, Oct 18, 2014 at 10:21 PM, Udara Liyanage <[email protected]> wrote:
>
>> Hi,
>>
>> Currently we can remove them since CA does not do any HTTP calls.
>>
>>
>>
>> Touched, not typed. Erroneous words are a feature, not a typo.
>>
>
>
>
> --
> Rajkumar Rajaratnam
> Software Engineer | WSO2, Inc.
> Mobile +94777568639 | +94783498120
>
> --
> Thanks and Regards,
>
> Isuru H.
> +94 716 358 048* <http://wso2.com/>*
>
>
> * <http://wso2.com/>*
>
>
>

Reply via email to