I think what he meant is, he want the local files (i.e. local repository) to be 
alive only during
the build period but not forever long.

Is it possible to modify the mvn.bat to make it remove the directory after it 
did its work?
or have a schedule job to delete the local repository everyday

Regards,
Adrian

-----Original Message-----
From: Nick Stolwijk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 30, 2006 6:50 PM
To: Maven Users List
Subject: Re: How to disable creation of cache repository under c:\Document s an 
d Settings\user\m2\.. ?


I tried to say, that the programs run by Maven2 needs the jar files 
locally. i.e. when you use Maven to compile something it calls javac 
with a classpath set to the jar files specified in your POM. Javac uses 
the classpath to locate the jar files and as far as I know, Javac can't 
work with remote files.

What you can do is try to do create a network share and put the "local" 
repository there. I don't have any experience with this, but I think it 
may work.

HTH,

Nick Stolwijk

Sharma, Jaikumar wrote:
> Does it mean that maven2 can not retrieve artifacts (jars etc) from
> remote repositories ? Or something else ?
> Regards.
> 
> -----Original Message-----
> From: Nick Stolwijk [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, August 30, 2006 4:07 PM
> To: Maven Users List
> Subject: Re: How to disable creation of cache repository under
> c:\Documents an d Settings\user\m2\.. ?
> 
> 
> I don't think that the programs that are run by Maven2 (like javac and 
> java) can use remote jar files, so they have to be present on the local 
> hard disk.
> 
> HTH,
> 
> Nick Stolwijk
> 
> Sharma, Jaikumar wrote:
>> Is there a way to disable creation of cache repository under 
>> c:\documents and setting\user\m2\... ? I have configured local 
>> intranet repository for plugins and dependencies.
>>  
>> I want this to be downloaded everytime user runs build and not to 
>> cumulate everything on every machine under C:\Documents and 
>> Settings\user\m2\..
>>  
>> Thanks.
>>  
>> Regards.
>>  
>>  
>>  
>>  
>> - - - - - - - DISCLAIMER- - - - - - - -
>> Unless indicated otherwise, the information contained in this message 
>> is privileged and confidential, and is intended only for the use of 
>> the
>> addressee(s) named above and others who have been specifically
> authorized to
>> receive it. If you are not the intended recipient, you are hereby
> notified
>> that any dissemination, distribution or copying of this message and/or
>> attachments is strictly prohibited. The company accepts no liability
> for any
>> damage caused by any virus transmitted by this email. Furthermore, the
>> company does not warrant a proper and complete transmission of this
>> information, nor does it accept liability for any delays. If you have
>> received this message in error, please contact the sender and delete
> the
>> message. Thank you.
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> - - - - - - - DISCLAIMER- - - - - - - -
> Unless indicated otherwise, the information contained in this message is
> privileged and confidential, and is intended only for the use of the
> addressee(s) named above and others who have been specifically authorized to
> receive it. If you are not the intended recipient, you are hereby notified
> that any dissemination, distribution or copying of this message and/or
> attachments is strictly prohibited. The company accepts no liability for any
> damage caused by any virus transmitted by this email. Furthermore, the
> company does not warrant a proper and complete transmission of this
> information, nor does it accept liability for any delays. If you have
> received this message in error, please contact the sender and delete the
> message. Thank you.
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



This email is confidential. If you are not the intended recipient, please 
delete it from your system and notify the sender immediately. Any unauthorized 
use, disclosure, dissemination or copying of this email is prohibited. Taifook 
Securities Group, its group companies and their content providers ("Parties") 
shall not be responsible for the accuracy or completeness of this email or its 
attachment, if any, which could contain virus, be corrupted, destroyed, 
incomplete, intercepted, lost or arrive late.   The Parites do not accept 
liability for any damage caused by this email.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to