Jump to: navigation, search

Talk:Jetty/Tutorial/Jetty and Maven HelloWorld

Revision as of 02:09, 18 May 2011 by Oza 4h07.yahoo.fr (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A POM file seems to be missing in "Developing a Standard WebApp with Jetty and Maven" example

Hello,

When running "mvn jetty:run", I've got :

[ERROR] BUILD ERROR

[INFO] ------------------------------------------------------------------------

[INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not exist or no valid version could be found


Using "mvn org.mortbay.jetty:maven-jetty-plugin:run" instead gave:

[ERROR] BUILD ERROR

[INFO] ------------------------------------------------------------------------

[INFO] Cannot execute mojo: resources. It requires a project with an existing pom.xml, but the build is not using one.


Maybe a POM file or some steps are missing in example.

Please, apologize if this demand is wrong as I'm rather new to either maven and jetty.

Regards