this works for me
 
mvn --offline goal

bedankt,
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.



 

> Date: Wed, 1 Dec 2010 12:18:08 +0100
> From: [email protected]
> To: [email protected]
> Subject: Re: can we use maven in offline environment?
> 
> 1. create a dummy maven project
> 2. in the pom.xml add in the <dependencies>, <plugins> and <reporting> 
> ALL the files you'll need... possibly include all the versions as well
> 3. go to a computer that does have internet and run mvn clean site 
> package install deploy dependency:go-offline and a handful of other 
> commands you can think of
> 4. package your local .m2 directory into a zip file and copy on your usb 
> flash
> 5. go to your local offline computer and extract the zip file
> 6. in .m2/settings.xml set the <offline>true</offline>
> 
> This is how you work with Maven in offline mode...
> 
> Cheers, Csaba
> 
> 
> On 1.12.2010 11:51, maven apache wrote:
> > 2010/12/1 Antonio Petrelli<[email protected]>
> >
> >> 2010/12/1 maven apache<[email protected]>:
> >>> In a word,all development related machine can not access the internet.
> >> But
> >>> they can access each other in the Local Area Network.
> >>>
> >>> I mean the build machine as my own work machine. It can access the
> >>> repository machine through Local Area Network.
> >> But the repository machine should access the Internet at least once.
> >> Isn't it possible?
> >>
> > No. Once. All the jars can only be downloaded in a online machine then
> > transfered to the repository machine by usb-dirver :(.
> >
> > If it can access the Internate once,I would not have these problems.
> >
> >> Stupid security reasons :-D
> >>
> > :(
> >
> >> Antonio
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [email protected]
> >> For additional commands, e-mail: [email protected]
> >>
> >>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
                                          

Reply via email to