from the maven user guide:

-------8<------------8<-------8<-----------8<-------
If you find you need to build your projects offline
you can either use the offline switch on the CLI:

 maven -o jar:jar

Or you can set maven.mode.online to false in a
property file .

 maven.repo.remote.enabled=false
------->8------------>8------->8----------->8-------

see -> http://maven.apache.org/reference/user-guide.html

regards

daniel s. haischt
--

Aaron Mulder wrote:

On Sat, 16 Aug 2003, Jason Dillon wrote:

The problem with this approach is that all modules now have extra bits on their class-path, which is not desired.

Also, I have tried using SNAPSHOT for intra-project depends, but Maven still tries to download newer versions from the remote repo which is silly and just slows things down.


        AFAICT, it also prevents you from building if you're on a
disconnected laptop.  If there was a way to avoid all unnecessary
downloads, or continue peacefully with the current version if the download
server is not available, it would be great.

Aaron





Reply via email to