[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[jetty-users] Jetty-maven-plugin 9.4.x session handling
|
This is what I have been doing with jetty-maven-plugin 9.3.x to keep sessions with hot reload
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>9.3.17.v20170317</version>
<configuration>
<httpConnector>
<host>localhost</host>
<port>${jetty.port}</port>
</httpConnector>
<reload>manual</reload>
<jettyXml>${project.basedir}/src/main/etc/jetty.xml</jettyXml>
<webApp>
<contextPath>/candidaturas</contextPath>
<webInfIncludeJarPattern>.*/webjars/.*\.jar$</webInfIncludeJarPattern>
<containerIncludeJarPattern>^$</containerIncludeJarPattern>
<baseResource implementation="org.eclipse.jetty.util.resource.ResourceCollection">
<resourcesAsCSV>${project.basedir}/src/main/webapp,${project.basedir}/../target/gwt/launcherDir</resourcesAsCSV>
</baseResource>
<sessionHandler implementation="org.eclipse.jetty.server.session.SessionHandler">
<sessionManager implementation="org.eclipse.jetty.server.session.HashSessionManager">
<storeDirectory>${project.basedir}/target/jetty-sessions</storeDirectory>
</sessionManager>
</sessionHandler>
</webApp>
</configuration>
</plugin>
What is the equivalent to handle the sessions in 9.4.x?
Thanks