<artifactId>jetty-maven-plugin</artifactId>
<version>${jettyVersion}</version>
<configuration>
- <webAppConfig>
+ <webApp>
<contextPath>/</contextPath>
- <baseResource implementation="org.mortbay.resource.ResourceCollection">
+ <baseResource implementation="org.eclipse.jetty.util.resource.ResourceCollection">
<resourcesAsCSV>src/main/webapp,target/archiva,target/redback</resourcesAsCSV>
</baseResource>
+ </webApp>
+ <webAppConfig>
+ <contextPath>/</contextPath>
+ <descriptor>${basedir}/src/main/webapp/WEB_INF/web.xml</descriptor>
+ <jettyEnvXml>${basedir}/src/jetty-env.xml</jettyEnvXml>
</webAppConfig>
+
<scanIntervalSeconds>10</scanIntervalSeconds>
- <jettyEnvXml>src/jetty-env.xml</jettyEnvXml>
+ <!--
+ <jettyConfig>${basedir}/src/jetty-env.xml</jettyConfig>
+ -->
<connectors>
- <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
+ <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
<port>9091</port>
<maxIdleTime>60000</maxIdleTime>
</connector>
-->
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
-<Configure id='wac' class="org.mortbay.jetty.webapp.WebAppContext">
+<Configure id='wac' class="org.eclipse.jetty.webapp.WebAppContext">
- <New id="validation_mail" class="org.mortbay.jetty.plus.naming.Resource">
+ <New id="validation_mail" class="org.eclipse.jetty.plus.jndi.Resource">
<Arg>mail/Session</Arg>
<Arg>
- <New class="org.mortbay.naming.factories.MailSessionReference">
+ <New class="org.eclipse.jetty.jndi.factories.MailSessionReference">
<Set name="user"></Set>
<Set name="password"></Set>
<Set name="properties">
</New>
<!-- Users / Security Database -->
- <New id="users" class="org.mortbay.jetty.plus.naming.Resource">
+ <New id="users" class="org.eclipse.jetty.plus.jndi.Resource">
<Arg><Ref id="wac"/></Arg>
<Arg>jdbc/users</Arg>
<Arg>
</Arg>
</New>
- <New id="usersShutdown" class="org.mortbay.jetty.plus.naming.Resource">
+ <New id="usersShutdown" class="org.eclipse.jetty.plus.jndi.Resource">
<Arg><Ref id="wac"/></Arg>
<Arg>jdbc/usersShutdown</Arg>
<Arg>