Hi Indunil, I think the reference listed in [1] is helpful for you.
[1] http://jojovedder.blogspot.com/2009/04/running-maven-offline-using-local.html Thanks! Best Regards, On Fri, Feb 20, 2015 at 8:55 AM, Indunil Upeksha Rathnayake < [email protected]> wrote: > Hi Chathura, > Thanks for your response. I have checked with both options(using direct > path of the local repository and using the maven user configurations as you > have mentioned), but the offline build was not successful. > > Thank You > > Best Regards > -- > Indunil Upeksha Rathnayake > Software Engineer | WSO2 Inc > Email [email protected] > Mobile +94713695179 > > > On Mon, Feb 16, 2015 at 4:08 PM, Chathura Priyankara <[email protected]> > wrote: > >> 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 < >> [email protected]> 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 [email protected] >>> Mobile +94713695179 >>> >>> _______________________________________________ >>> 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 >> > > -- 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
