Hi Paul,
I am using the eclipse-jetty maven plugin. After compiling and successfully
unit testing the project which builds a war, the war is deployed into Jetty
running within Maven.
The plugin snippet in the pom.xml is
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<version>6.1.14</version>
<configuration>
<classesDirectory>target/classes</classesDirecto
ry>
<web-app>target/deployment-0-1.SNAPSHOT.war</web
-app>
<connectors>
<connector
implementation="org.mortbay.jetty.nio.SelectC
hannelConnector">
<port>8080</port>
</connector>
</connectors>
<scanIntervalSeconds>10</scanIntervalSeconds>
<stopKey>foo</stopKey>
<stopPort>9999</stopPort>
</configuration>
<executions>
<execution>
<id>start-jetty</id>
<phase>pre-integration-test</phase>
<goals>
<goal>run-war</goal>
</goals>
<configuration>
<scanIntervalSeconds>0</scanIntervalSeconds>
<daemon>true</daemon>
</configuration>
</execution>
more information about the plugin can be found at
http://mojo.codehaus.org/jetty-maven-plugin/.
Let me know if you need more information.
Regards,
Naveen
--
View this message in context: http://n2.nabble.com/problem-running-Jersey-webapp-to-Tomcat-6-0-20-tp4385548p4502088.html
Sent from the Jersey mailing list archive at Nabble.com.