You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Puneet Garg <pg...@njit.edu> on 2004/07/13 17:01:13 UTC

local dependency

Hi,

We want to use maven in our project.
But our co. policy doesnot allow to download jars from Internet sp we 
have to turn off the option of downloading the jar files.!!
Any idea how to do that ..?

Also if we have jars on a LAN can we provide that address in the url ??

thanks
puneet

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: local dependency

Posted by Brett Porter <br...@gmail.com>.
-o: offline
You'll at least need to install the seed repository (see download
page) to get Maven to work in this situation.

-Dmaven.repo.remote=http://myhost/repository means you can host it locally

You might also check out http://maven-proxy.codehaus.org/

Regards,
Brett

On Tue, 13 Jul 2004 11:01:13 -0400 (EDT), Puneet Garg <pg...@njit.edu> wrote:
> Hi,
> 
> We want to use maven in our project.
> But our co. policy doesnot allow to download jars from Internet sp we
> have to turn off the option of downloading the jar files.!!
> Any idea how to do that ..?
> 
> Also if we have jars on a LAN can we provide that address in the url ??
> 
> thanks
> puneet
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: local dependency

Posted by Alex Shneyderman <al...@law.columbia.edu>.
You can use maven proxy, that will be the LAN sitting server and works
exactly the same way as the remote repo. You will have to fill the proxy
repository first.

Alex.

> -----Original Message-----
> From: Puneet Garg [mailto:pg4@njit.edu]
> Sent: Tuesday, July 13, 2004 11:01 AM
> To: Maven Users List
> Subject: local dependency
> 
> Hi,
> 
> We want to use maven in our project.
> But our co. policy doesnot allow to download jars from Internet sp we
> have to turn off the option of downloading the jar files.!!
> Any idea how to do that ..?
> 
> Also if we have jars on a LAN can we provide that address in the url
??
> 
> thanks
> puneet
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org