Mornin' Ajay I build locally mainly because I want to be able to build on a train or at an airport and I dont have constant internet access.
You will have to install a local repository preferrably in your ${user.home}/.m2/repository and execute all commands to work offline with the -o option e.g. mvn -e -X -o compile mvn -e -X -o package mvn -e -X -o install mvn -e -X -o deploy It has taken me roughly 2 years to get my local repository built properly I wish there was a quick way to update your local repository from apache repos but I havent found one. Maybe Andreas or some of the other devs have a suggestion for synch'ing local repo to apache axis repositories? Martin ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. From: ajaya_senap...@dell.com To: java-dev@axis.apache.org; java-dev-...@axis.apache.org CC: ashutosh_ku...@dell.com Date: Thu, 28 Feb 2013 22:55:13 -0800 Subject: [axis2] Issue while compiling Apache Axis2 v1.6.2 Source code Hi, I have downloaded the source code for Apache Axis2 Version 1.6.2 source code. I want to build the code in my local system. As per pre-requisite, I have configured both Maven and Ant, and following the instructions. While I am compiling it using command “mvn install”, every time it is trying to connect to the internet and failing irrespective of internet working fine. Here are my few doubts: 1. Do we require an internet connection for the command to work ? 2. Is it possible to build locally? If Yes, what are the steps? Regards, Ajaya Kumar Senapati