You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Nick Stolwijk <ni...@Planet.nl> on 2006/08/30 12:50:08 UTC

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:nick_stolwijk@Planet.nl] 
> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> - - - - - - - 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org