|
Page Edited :
WICKET :
Maven jetty6 plugin
Maven jetty6 plugin has been edited by Mathias Axelsson (Nov 16, 2007). Content:
Table of contents Using the Maven Jetty6 pluginThis note is to describe the above plugin, which will run your web application in an embedded Jetty6 instance by just Configuring the pom.xmlCurrently, the best plugin version to use is the 6.0-SNAPSHOT one, so be aware that it is a little out on the edge. The reason for this is that earlier versions of Jetty used commons-logging, which lead to various class-loader issues Add the following to your project pom.xml at the same level as the <build> or <dependancies> blocks. {panel}
<pluginRepositories>
<pluginRepository>
<id>mortbay-repo</id>
<name>mortbay-repo</name>
<url>http://www.mortbay.org/maven2/snapshot</url>
</pluginRepository>
</pluginRepositories>
{panel}
then add the following to your <build><plugins> block. {panel}
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty6-plugin</artifactId>
<version>6.0-SNAPSHOT</version>
<configuration>
<webAppSourceDirectory>src/webapp</webAppSourceDirectory>
<scanIntervalSeconds>10</scanIntervalSeconds>
</configuration>
</plugin>
{panel}
The <configuration> entries are optional but shown here as examples. The first shows how the WebApp folder may be
|
Unsubscribe or edit your notifications preferences
