try to fix jetty run with new version but still issue with redback war and jar

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1190245 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-10-28 10:53:00 +00:00
parent 56791ab4ad
commit 938287ed6a
2 changed files with 17 additions and 9 deletions

View File

@ -672,16 +672,24 @@
<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>

View File

@ -19,12 +19,12 @@
-->
<!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">
@ -40,7 +40,7 @@
</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>
@ -52,7 +52,7 @@
</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>