Hi Indunil,

You have to set paths for axiom-1.2.11.wso2v4.jar,
axis2-client-1.6.1.wso2v10.jar and  axis2-1.6.1.wso2v10.jar from your local
maven repository like follows :

<pathelement
location="${settings.localRepository}/org/apache/ws/commons/axiom/wso2/axiom/1.2.11.wso2v4/axiom-1.2.11.wso2v4.jar"/>
<pathelement
location="${settings.localRepository}/org/apache/axis2/wso2/axis2-client/1.6.1.wso2v10/axis2-client-1.6.1.wso2v10.jar"
/>
<pathelement
location="${settings.localRepository}/org/apache/axis2/wso2/axis2/1.6.1.wso2v10/axis2-1.6.1.wso2v10.jar"
/>

Thanks!
Best Regards,


On Sat, Feb 14, 2015 at 10:47 AM, Indunil Upeksha Rathnayake <
indu...@wso2.com> wrote:

> Hi,
>
> Thanks for the quick response. Now it's built successfully. But before
> adding these repositories, the jar files (axiom-1.2.11.wso2v4.jar,
> axis2-client-1.6.1.wso2v10.jar, axis2-1.6.1.wso2v10.jar) were there in the
> local repository .m2 folder (I believe that those has been added previously
> from another project build). As per my knowledge, in offline build, maven
> has to use the resources that are available locally. But I'm getting the
> same error, when working in the offline mode by using “mvn clean install
> -o” command. Can anyone please explain the reason behind this?
>
> Thank You
>
> Regards
> --
> Indunil Upeksha Rathnayake
> Software Engineer | WSO2 Inc
>
> Email    indu...@wso2.com
> Mobile  +94713695179
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chathura Priyankara
Software Engineer | WSO2 Inc.
Mobile : +94718795340
Blog : www.codeoncloud.blogspot.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to