I’m trying to run the following project(Vaadin with Spring security) from Eclipse:
Vaadin App with Spring Security
Related article(Spring Integration)
I’ve tried to run it using the Maven goals ‘package’ ‘jetty:run’ as described in this article:
Using Vaadin with Maven
…but I get this error during the build:
[INFO]
------------------------------------------------------------------------
[INFO]
BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO]
Total time: 2.968s
[INFO]
Finished at: Fri Feb 04 11:36:07 CST 2011
[INFO]
Final Memory: 10M/116M
[INFO]
------------------------------------------------------------------------
[ERROR]
No plugin found for prefix ''jetty' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo]
available from the repositories [local (C:\Users\Adam\.m2\repository), terracotta-repository (http://www.terracotta.org/download/reflector/maven2), central (http://repo1.maven.org/maven2)]
-> [Help 1]
[ERROR]
[ERROR]
To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR]
Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR]
For more information about the errors and possible solutions, please read the following articles:
[ERROR]
[Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException
What am I doing wrong? One thing that may be important here is that I just imported the project using the Maven Eclipse plugin without declaring an archetype… do you need to do this if you’re just importing a project and not writing one from scratch?
Also, is it possible to simple deploy a Vaadin project with a Maven file structure to Eclipse’s Tomcat server? I’ve been doing this with other Vaadin projects with no problem.
Please forgive my ignorance. I’m new to both Spring and Maven. I’m just trying to get a simple example working with Vaadin and Spring successfully integrated.