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 <[email protected]> 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 <[email protected]> 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: [email protected] >> For additional commands, e-mail: [email protected] >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
