>From the looks of the documentation, this was by design. Doesn't mean it wasn't a bad design. ;-)
:quote (From http://maven.apache.org/archetype/maven-archetype-plugin/specification/a rchetype-catalog.html) Location of catalog files The Archetype Plugin knows by default about its internal catalog. It also knows about the local and remote catalogs. local represents the ~/.m2/archetype-catalog.xml catalog file. remote represents the http://repo1.maven.org/maven2/archetype-catalog.xml catalog file. The Archetype Plugin can also read catalogs from filesystem/HTTP by providing the path/URL of a catalog file or of a directory containing an archetype-catalog.xml file. :equote > -----Original Message----- > From: Manfred Moser [mailto:manf...@mosabuam.com] > Sent: Tuesday, February 28, 2012 12:25 PM > To: Maven Users List > Subject: RE: offline not truly offline? > > Smells like an issue should be created.. > > On Tue, February 28, 2012 10:40 am, Matt Walsh wrote: > >>From my experience with the archetype plugin, it appears to ignore > your > > company proxies and mirrors and always and only goes to repo1 unless > you > > tell it otherwise > > using -DarchetypeCatalog=http://your.company.repo/.... or > > -DarchetypeCatalog=local > > > > I don't have a proxy, but I do have everything redirecting via a > mirror > > to our Nexus repository and I still have to do the above to get it to > > find my archetypes. > > > > Matt > > > >> -----Original Message----- > >> From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] > On > >> Behalf Of Anders Hammar > >> Sent: Tuesday, February 28, 2012 11:11 AM > >> To: Maven Users List > >> Subject: Re: offline not truly offline? > >> > >> 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 > > > > > > > ______________________________________________________________________ > > This message, including any attachments, is confidential and contains > > information intended only for the person(s) named above. Any other > > distribution, copying or disclosure is strictly prohibited. If you > are not > > the intended recipient or have received this message in error, please > > notify us immediately by reply email and permanently delete the > original > > transmission from all of your systems and hard drives, including any > > attachments, without making a copy. > > > > --------------------------------------------------------------------- > > 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 ______________________________________________________________________ This message, including any attachments, is confidential and contains information intended only for the person(s) named above. Any other distribution, copying or disclosure is strictly prohibited. If you are not the intended recipient or have received this message in error, please notify us immediately by reply email and permanently delete the original transmission from all of your systems and hard drives, including any attachments, without making a copy. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org