I understand there's lot of documentation on how to use maven... but nothing in regards to my problem of not having plugins in the first place. Here is the error message I get when running 'mvn -e archetype:create'
>mvn -e archetype:create + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exi st or no valid version could be found [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.m aven.plugins:maven-archetype-plugin' does not exist or no valid version could be found at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa ultLifecycleExecutor.java:1286) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor (DefaultLifecycleExecutor.java:1522) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy AggregationNeeds(DefaultLifecycleExecutor.java:386) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:138) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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 p lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no val id version could be found at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl uginVersion(DefaultPluginVersionManager.java:228) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl uginVersion(DefaultPluginVersionManager.java:90) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug inManager.java:166) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa ultLifecycleExecutor.java:1257) ... 14 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Wed Aug 22 17:47:30 PDT 2007 [INFO] Final Memory: 1M/4M [INFO] ------------------------------------------------------------------------ > -----Original Message----- > From: Eric Redmond [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 22, 2007 4:51 PM > To: Maven Users List > Subject: Re: Maven doesn't include plugins? > > Not to be rude - but how hard did you search? > > http://maven.apache.org/articles.html > > But more to the point, that should not happen. Best to paste the error... > for starters, try running: > > mvn -e archetype:create > > -- > Eric Redmond > http://blog.propellors.net > > On 8/22/07, Jean-Philippe Steinmetz <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > > > > > I just downloaded maven-2.0.7-bin.zip > > <http://www.apache.org/dyn/closer.cgi/maven/binaries/maven-2.0.7- > bin.zip> > > and got it all set up but if I try and run commands like 'mvn > > archetype:create' or 'mvn eclipse:create' I get a missing plugin error. > > According to the website and documentation maven is supposed to come > with > > many standard plugins by default, so where are they? Do I need to > download > > each plugin separately for every task I'll need? If so where do I place > > them > > in the maven directory? Why isn't there some sort of base plugin package > I > > can download? There seems to be no documentation to answer these > questions > > as I've spent a good two hours searching all over. In short. I'm lost. > > Thanks for your help! > > > > > > > > Jean-Philippe Steinmetz > > > > ----------------------------------- > > > > Webmaster / Developer > > > > Information Sciences Institute > > > > University of Southern California > > > > [EMAIL PROTECTED] > > > > 310.448.8471 > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]