geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel S. Haischt" ...@daniel.stefan.haischt.name>
Subject Re: [build] Dependency management
Date Sat, 16 Aug 2003 13:45:41 GMT
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
> 



Mime
View raw message