Note that this doesn't yet work for plugins not explicitly listed in your poms (like the ones bound to the standard lifecycles) but I recently wrote some code in enforcer to do this, so I can finally fix it here.
-----Original Message----- From: zhongliang zhang [mailto:[EMAIL PROTECTED] Sent: Friday, September 28, 2007 6:30 AM To: Maven Users List Subject: [closed]How can I download all the plugins file at one time? I got it. thanks a lot. On 28/09/2007, Gisbert Amm <[EMAIL PROTECTED]> wrote: > That should work, as long as you invoke Maven with the -o (--offline) > switch and do not add further external dependencies to your project. > > -Gisbert > > zhongliang zhang wrote: > > so,I just copy the ~\.m2\reposity directory to the offline > > environment,and I can use the mvn with no downloading prompt or no > > build_failture prompt. > > is it right? > > > > On 28/09/2007, Gisbert Amm <[EMAIL PROTECTED]> wrote: > > > >>http://maven.apache.org/plugins/maven-dependency-plugin/go-offline-mojo.html > >> > >>-Gisbert > >> > >>zhongliang zhang wrote: > >> > >>>Hi,I am new to maven,I start with the maven in 5 minutes. > >>>Everything works well,but it takes too much time to download the > >>>plugins.The plugin in the Apache site are in separate directories > >>>which makes them not easy to download. > >>>When I worked at home,I can not connect to the Internet for some reason. > >>>So,Can anybody provide the full package of all the plugins that listed > >>>in the Available Plugins. > >>>thanks a lot. > >>> > >>>--------------------------------------------------------------------- > >>>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>>For additional commands, e-mail: [EMAIL PROTECTED] > >>> > >> > >>-- > >>Gisbert Amm > >>Softwareentwickler Infrastruktur > >>Telefon: (0721) 91374 - 4224 > >>Telefax: (0721) 91374 - 2740 > >>E-Mail: [EMAIL PROTECTED] > >>Internet: www.1und1.de > >> > >>1&1 Internet AG > >>Elgendorfer Strasse 57 > >>56410 Montabaur > >> > >>Amtsgericht Montabaur HRB 6484 > >> > >>Vorstand: Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger > >>(Vorsitzender), Matthias Greve, Henning Ahlert, Norbert Lang, Achim > >>Weiss, Robert Hoffmann, > >>Aufsichtsratsvorsitzender: Michael Scheeren > >> > >>--------------------------------------------------------------------- > >>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] > > > > -- > Gisbert Amm > Softwareentwickler Infrastruktur > Telefon: (0721) 91374 - 4224 > Telefax: (0721) 91374 - 2740 > E-Mail: [EMAIL PROTECTED] > Internet: www.1und1.de > > 1&1 Internet AG > Elgendorfer Strasse 57 > 56410 Montabaur > > Amtsgericht Montabaur HRB 6484 > > Vorstand: Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger > (Vorsitzender), Matthias Greve, Henning Ahlert, Norbert Lang, Achim > Weiss, Robert Hoffmann, > Aufsichtsratsvorsitzender: Michael Scheeren > > --------------------------------------------------------------------- > 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]