That makes me want to punch kittens.

Shouldn't access be allowed/disallowed by the process running the plugins?

On Tue, Feb 28, 2012 at 1:10 PM, Anders Hammar <and...@hammar.net> wrote:

> The problem with executing Maven offline is that not all plugins
> respect that for plugin specific downloads. It's up to the plugin
> author. I don't know about the archetype plugin, but I'm pretty sure
> the Cargo plugin (for example) doesn't care about that flag and still
> tries to go out on the Internet to download Cargo specific files. The
> log output you're seeing is a archetype plugin specific file so I'm
> guessing it doesn't check if in offline mode before downloading that.
>
> /Anders
>
> On Tue, Feb 28, 2012 at 19:02, Maven User <maven.2.u...@gmail.com> wrote:
> > Yeah, just did it again just to make sure:
> >
> > "mvn archetype:generate -X -e -o"
> >
> > <snip>
> >
> > [INFO] Generating project in Interactive mode
> > [DEBUG] Searching for remote catalog:
> > http://repo1.maven.org/maven2/archetype-catalog.xml
> >
> > </snip>
> >
> > Lies?
> >
> > On Tue, Feb 28, 2012 at 11:16 AM, Wayne Fay <wayne...@gmail.com> wrote:
> >
> >> > When passing "mvn archetype:generate" the -o flag, I can see it's
> >> reaching
> >> > out to repo1 still.
> >>
> >> How can you "see" this? Are you using a network sniffer or just going
> >> by what the Maven logs show?
> >>
> >> > It seems offline mode isn't truly offline.
> >>
> >> I'm pretty sure you are wrong about this.
> >>
> >> > Am I missing something?
> >>
> >> The Maven log has a tendency to "lie" to you sometimes.
> >>
> >> Wayne
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> >> For additional commands, e-mail: users-h...@maven.apache.org
> >>
> >>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to