You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Matthias Wessendorf <ma...@apache.org> on 2007/08/10 11:31:06 UTC

Re: Building offline

Hi,

I am having troubles with
mvn ... -o
(with maven 2.0.7)

says not able to download (but, really, the file is in my local repo)
The dependency is a -SNAPSHOT (for what's worth)

Luckily, when traveling by train, I had maven 2.0.4 on my box as well.
A change to use 2.0.4 works fine.

So, is this an already know bug in 2.0.7 ?

-Matthias

On 6/22/07, Manuel J. Recena Soto <re...@eii.us.es> wrote:
> hi kjohnston:
>
> On Fri, 22 Jun 2007 10:45:25 -0700 (PDT), kjohnston wrote
> > I'm having trouble getting Maven to build a project in offline mode.
> >  Is there a step-by-step procedure document for this?
> >
> > Here's what I'd like to do:
> > - Set up a local file based repository with all the artifacts needed
> > to build - Run Maven in offline mode, configured to use just a
> > single, local repository
> >
>
> Are you try this?
>
> *first option:
>
> mvn --help
> usage: mvn [options] [<goal(s)>] [<phase(s)>]
> Options:
>  -o,--offline                  Work offline
>
> * second option:
>
> Config your setting.xml at $HOME/.m2/ or $MAVEN_DIR/bin/conf
> <offline>true</offline>
>
> regards,
>
> > Thanks
> > --
> > View this message in context: http://www.nabble.com/Building-offline-
> > tf3966053s177.html#a11256959 Sent from the Maven - Users mailing
> > list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
>
>
> --
> Manuel J. Recena Soto
> * www.manuelrecena.com[/blog]
> * recena@eii.us.es
> * +34 609710280 (ES)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org

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