The error message written in there is:

"You must have at least one goal. Try 'install'".

Are you running this on a project, or just in a new directory?

You should read the getting started guide, which shows how to start a
new project and do a few things, step by step.

- Brett

On 4/15/05, GOKULAM Jayaram <[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> I downloaded the new Maven 2 alpha release and extracted it.
> 
> When I type m2 it throws me an exception, rather than showing up the
> maven logo on the console.
> 
> Help is appreciated.
> 
> Thanks,
> 
> Jayaram
> 
> Error is as below:
> 
> ---------------------------------------------------
> 
> constituent[0]: file:/D:/maven-2.0/bin/../lib/commons-cli-1.0-beta-2.jar
> 
> constituent[1]:
> file:/D:/maven-2.0/bin/../lib/marmalade-core-1.0-alpha-2.jar
> 
> constituent[2]:
> file:/D:/maven-2.0/bin/../lib/maven-artifact-2.0-alpha-1.jar
> 
> constituent[3]: file:/D:/maven-2.0/bin/../lib/maven-core-2.0-alpha-1.jar
> 
> constituent[4]:
> file:/D:/maven-2.0/bin/../lib/maven-model-2.0-alpha-1.jar
> 
> constituent[5]:
> file:/D:/maven-2.0/bin/../lib/maven-monitor-2.0-alpha-1.jar
> 
> constituent[6]:
> file:/D:/maven-2.0/bin/../lib/maven-plugin-2.0-alpha-1.jar
> 
> constituent[7]:
> file:/D:/maven-2.0/bin/../lib/maven-script-marmalade-2.0-alpha-1.jar
> 
> constituent[8]:
> file:/D:/maven-2.0/bin/../lib/maven-settings-2.0-alpha-1.jar
> 
> constituent[9]:
> file:/D:/maven-2.0/bin/../lib/plexus-container-artifact-1.0-alpha-2.jar
> 
> constituent[10]:
> file:/D:/maven-2.0/bin/../lib/plexus-i18n-1.0-beta-3.jar
> 
> constituent[11]:
> file:/D:/maven-2.0/bin/../lib/plexus-marmalade-factory-1.0-alpha-2.jar
> 
> constituent[12]:
> file:/D:/maven-2.0/bin/../lib/wagon-http-lightweight-1.0-alpha-2.jar
> 
> constituent[13]:
> file:/D:/maven-2.0/bin/../lib/wagon-provider-api-1.0-alpha-2.jar
> 
> ---------------------------------------------------
> 
> org.apache.maven.reactor.ReactorException: You must specify at least one
> goal. Try 'inst
> 
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:88)
> 
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:233)
> 
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
> 
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.
> 
> )
> 
>         at java.lang.reflect.Method.invoke(Method.java:324)
> 
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303)
> 
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:243)
> 
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416)
> 
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:363)
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to