I think using a maven proxy like artifactory is a better option.

On Sun, Mar 30, 2008 at 11:59 AM, Eugeny N Dzhurinsky <[EMAIL PROTECTED]>
wrote:

> ;On Sun, Mar 30, 2008 at 02:46:11AM -0700, SKService wrote:
> >
> > I've started using and reading docs on Maven. While using and also while
> > referring docs, realized that, when maven is being used for the first
> time,
> > it downloads a lot of artifacts (jars, poms, etc).
> >
> > I wanted to find out whether it is a must to have internet connection
> while
> > using maven?
> >
> > For example, how will you suggest to use maven for the first time on a
> > production environment, where for sure there'll not be an internet
> > connection or a proxy available to download something from the net
> across
> > the firewall. How do you suggest to handle such a scenario?
>
> Deploy the content of $HOME/.m2/repository from development host to
> production $HOME/.m2/repository. Probably wipe out unnecessary
> dependencies.
>
> --
> Eugene N Dzhurinsky
>

Reply via email to