You don't have to install any plugins, maven will download everything by itself.
On 2/23/06, Xiaobo Chen <[EMAIL PROTECTED]> wrote: > Thanks for your reply. So if I use, 1.x, how can I install all those > plugins? Actually, which plugins shall I install? > > Shall I download all those as in this page: > > http://www.ibiblio.org/maven2/plugins/org/apache/maven/plugins/ > > into the the 'lib' directory? > > Thanks a lot! > > Xiaobo > > > > Hi, > > you use maven 2.0.2 I think there is not yet dist plugin available for > > maven2.x > > maven command runs maven 1.x > > Tom. > > > > 2006/2/23, Xiaobo Chen <[EMAIL PROTECTED]>: > >> Hi, all > >> > >> I am very new in Maven. I am following the tutorial for Jetspeed: > >> > >> http://portals.apache.org/jetspeed-1/tutorial/prerequisites.html > >> > >> When I typed: > >> > >> mvn -e -Dmaven.test.skip=true dist:install > >> > >> NOT "maven -Dmaven.test.skip=true dist:install " as in the web page. I > >> have version maven 2.0.2. > >> > >> it reported: > >> > >> > >> + Error stacktraces are turned on. > >> [INFO] Scanning for projects... > >> [INFO] Searching repository for plugin with prefix: 'dist'. > >> [INFO] > >> ---------------------------------------------------------------------------- > >> [ERROR] BUILD ERROR > >> [INFO] > >> ---------------------------------------------------------------------------- > >> [INFO] The plugin 'org.apache.maven.plugins:maven-dist-plugin' does not > >> exist or no valid version could be found > >> [INFO] > >> ---------------------------------------------------------------------------- > >> [INFO] Trace > >> org.apache.maven.lifecycle.LifecycleExecutionException: The plugin > >> 'org.apache.maven.plugins:maven-dist-plugin' does not exist or no valid > >> version could be found > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1247) > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1483) > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:378) > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:134) > >> at > >> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) > >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) > >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) > >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >> at > >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > >> at > >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >> at java.lang.reflect.Method.invoke(Method.java:324) > >> at > >> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > >> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > >> at > >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > >> Caused by: > >> org.apache.maven.plugin.version.PluginVersionNotFoundException: > >> The plugin 'org.apache.maven.plugins:maven-dist-plugin' does not exist > >> or > >> no valid version could be found > >> at > >> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:225) > >> at > >> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:87) > >> at > >> org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:160) > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1218) > >> ... 14 more > >> > >> It looks like some plugins haven't been installed. > >> > >> So I go to the next step as in the webpage: > >> > >> In the plugin directory: > >> > >> mvn -e plugin:install > >> > >> But it repoted: > >> > >> + Error stacktraces are turned on. > >> [INFO] Scanning for projects... > >> [INFO] Searching repository for plugin with prefix: 'plugin'. > >> [INFO] > >> ---------------------------------------------------------------------------- > >> [ERROR] BUILD FAILURE > >> [INFO] > >> ---------------------------------------------------------------------------- > >> [INFO] Required goal not found: plugin:install > >> [INFO] > >> ---------------------------------------------------------------------------- > >> [INFO] Trace > >> org.apache.maven.BuildFailureException: Required goal not found: > >> plugin:install > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1499) > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:378) > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:134) > >> at > >> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) > >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) > >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) > >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >> at > >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > >> at > >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >> at java.lang.reflect.Method.invoke(Method.java:324) > >> at > >> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > >> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > >> at > >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > >> [INFO] > >> ---------------------------------------------------------------------------- > >> > >> Still looks like plugin not installed. > >> > >> I have no idea about those plugins, and I am searching the site but > >> still > >> don't know how to install them? Can anyone give my a hand? > >> > >> Thanks a lot. > >> > >> Xiaobo > >> > >> > >> --------------------------------------------------------------------- > >> 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] > > -- Alexandre Poitras Québec, Canada --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
