It's not Maven's fault this time - it's our fault for not documenting
things enough.

The plugin is defined in the web project, so you need to run "mvn
jetty:run-war" from that directory.

I've updated the QuickStart Guide to be a bit more explicity.

http://appfuse.org/display/APF/AppFuse+QuickStart

Matt

On 1/25/07, molecool <[EMAIL PROTECTED]> wrote:

This has always been my pet-peeve about maven: I'm running 'mvn
jetty:run-war' and keep getting the following error:

$ mvn jetty:run-war
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   AppFuse Modular Application
[INFO]   AppFuse Modular Application - Core
[INFO]   AppFuse Modular Application - Web (Spring MVC)
[INFO] Searching repository for plugin with prefix: 'jetty'.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not
exist or no valid version could be found
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Thu Jan 25 12:11:29 PST 2007
[INFO] Final Memory: 1M/3M
[INFO]
------------------------------------------------------------------------

GREAT - I actually navigated to central (repo1.maven.org/maven2) and to my
mirror (mirrors.ibiblio.org/pub/mirrors/maven2) and guess what? It's not
there! Has this one been moved?

Anyway, if someone has it - can they please zip up the directory and post
it? This way I can deploy it manually into my local repo.

I wish I wouldn't always run into these types of problems with maven - kind
of defeats the purpose....

Michael
--
View this message in context: 
http://www.nabble.com/appfuse-2.0%3A-where-is-the-maven-jetty-plugin--tf3118737s2369.html#a8640196
Sent from the AppFuse - User mailing list archive at Nabble.com.

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




--
http://raibledesigns.com

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

Reply via email to