On Thu, May 1, 2008 at 10:44 AM, Russell Bateman <[EMAIL PROTECTED]> wrote:
> Am I just broken? Nothing could be easier to download and set up, but
> walking the QuickStart
> (http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html),
> I find the example simply doesn't work.
...
>    C:\russ\dev>mvn archetype:create -DgroupId=com.mycompany.app
>    -DartifactId=my-app
...
>    C:\russ\dev\my-app>java -cp target/my-app-1.0-SNAPSHOT.jar
>    com.mycompany.app.App

Try 'mvn install' before you try to execute it.  At least, I don't see
where you ever compiled the code and created the jar...

Creating an archetype with Maven doesn't mean it's watching to see
when things need to be compiled.  As you pointed out, that's what IDEs
do for you.

-- 
Wendy

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

Reply via email to