I simply generate site to see the dependency tree... On Nov 27, 2007 7:40 PM, Dennis Lundberg <[EMAIL PROTECTED]> wrote:
> You need at least version 2.0-alpha-5 of the dependency-plugin. The tree > goal was introduced in that version as indicated here: > > http://maven.apache.org/plugins/maven-dependency-plugin/tree-mojo.html > > bryan ward wrote: > > Hi, > > > > I would like to run some of the dependency goals listed in the > documentation > > > > http://maven.apache.org/plugins/maven-dependency-plugin/ > > > > however when I do, I get an error stating that the goal cannot be found? > > Does anyone know why this is? > > > > > > /cygdrive/c/hasdev/servicesImpl$ mvn -e dependency:tree > > + Error stacktraces are turned on. > > [INFO] Scanning for projects... > > [INFO] Searching repository for plugin with prefix: 'dependency'. > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] BUILD FAILURE > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Required goal not found: dependency:tree > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Trace > > org.apache.maven.BuildFailureException: Required goal not found: > > dependency:tree > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor > (DefaultLifecycleExe > > cutor.java:1538) > > at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds > (Def > > aultLifecycleExecutor.java:386) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( > DefaultLifecycleExecutor.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( > DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:585) > > 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] > > ------------------------------------------------------------------------ > > [INFO] Total time: < 1 second > > [INFO] Finished at: Tue Nov 27 11:14:47 MST 2007 > > [INFO] Final Memory: 2M/4M > > [INFO] > > ------------------------------------------------------------------------ > > > > > > > -- > Dennis Lundberg > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
