Thanks,I will have a try. 2010/12/1 Gajo Csaba <[email protected]>
> 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] > >
