You certainly can, make sure you have the jetty plugin configured though...
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<version>6.1.7</version>
</plugin>
I have a test project I did that just worked straight out of the box
with this in place
On Tue, May 24, 2011 at 3:56 PM, Dário Abdulrehman
<dario.rehman_at_gmail.com> wrote:
> I would include some services in a VM but glassfish is very big and I
> would like to keep the VM as small as possible.
> Is it possible to deploy the web services on the Jetty web server?
>
> I tried to add jetty to the project dependencies and then running mvn
> jetty:run but I get a
> [ERROR] No plugin found for prefix 'jetty' in the current project and
> in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] ...
>
>
> Is it possible to deploy a Jersey web services on Jetty?
>
> Thanks.
>
--
Maybe she awoke to see the roommate's boyfriend swinging from the
chandelier wearing a boar's head.
Something which you, I, and everyone else would call "Tuesday", of course.