Sorry, it looks like the settings.xml that my company has us use has
an update policy of always. Guess that conflicts with offline.

I retract any agreement I had with that blog :)

-Andrew

On Dec 20, 2007 4:29 PM, Andrew Robinson <[EMAIL PROTECTED]> wrote:
> Offline mode breaks when there are snapshots:
>
> > mvn -o install
>
> [INFO] Failed to resolve artifact.
>
> GroupId: some-group
> ArtifactId: some-artifact
> Version: 1.0-SNAPSHOT
>
> Reason: System is offline.
>
>   some-group:some-artifact:pom:1.0-SNAPSHOT
>
>
>
> NOTE: Maven is executing in offline mode. Any artifacts not already in
> your local
> repository will be inaccessible.
>
>
> It *should* work, but doesn't. Maybe I am missing something?
>
>
>
> On Dec 20, 2007 2:57 PM, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > You could run -o (offline) and then leave it off when you want to
> > check for snapshot updates.
> >
> > Wayne
> >
> >
> > On 12/20/07, Andrew Robinson <[EMAIL PROTECTED]> wrote:
> > > I don't agree with most of the post, but he does have a point about
> > > resolving dependencies during every build.
> > >
> > > On one of my projects, I am using several snapshots due to needing bug
> > > fixes. I really wish I could turn off snapshot checking until I
> > > specifically ask for it to check. Like a "maven.snapshot.skip" flag.
> > >
> > > -Andrew
> > >
> > > On Dec 20, 2007 2:38 PM, Mark Struberg <[EMAIL PROTECTED]> wrote:
> > > > This must obviously be a guy who never had a build with more than one 
> > > > single module. So he never
> > > > learned that it is NOT a good idea to keep all dependencies in every 
> > > > single module ;)
> > > >
> > > > Additionally this guy does not know about maven-proxy and the ability 
> > > > to backup all artifacts you
> > > > need for the whole company.
> > > >
> > > > So for me, I can simply ignore his personal opinion :)
> > > >
> > > > LieGrü,
> > > > strub
> > > >
> > > > --- Borut BolÄ ina <[EMAIL PROTECTED]> schrieb:
> > > >
> > > > > Anybody saw this post?
> > > > >
> > > > > http://fishbowl.pastiche.org/
> > > > >
> > > > > Unfortunately the author, Charles Miller <[EMAIL PROTECTED]>, disabled
> > > > > the comments to prevent spam. Hmmm.
> > > >
> > > >
> > > >
> > > >       Heute schon einen Blick in die Zukunft von E-Mails wagen? 
> > > > www.yahoo.de/mail
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

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

Reply via email to