This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository nuiton-web. See https://gitlab.nuiton.org/nuiton/nuiton-web.git commit b64d6ae1095c2e43fa6fb832e04a7ce45c115a95 Author: Tony CHEMIT <dev@tchemit.fr> Date: Thu Jan 5 17:57:11 2017 +0100 Update and fix documentation on JettyRunner (Fixes #4126) --- nuiton-web/src/site/apt/Warlauncher.apt.vm | 68 +++--------------------------- 1 file changed, 5 insertions(+), 63 deletions(-) diff --git a/nuiton-web/src/site/apt/Warlauncher.apt.vm b/nuiton-web/src/site/apt/Warlauncher.apt.vm index e80e2ab..e0cf710 100644 --- a/nuiton-web/src/site/apt/Warlauncher.apt.vm +++ b/nuiton-web/src/site/apt/Warlauncher.apt.vm @@ -62,14 +62,14 @@ War launcher <scope>provided</scope> </dependency> <dependency> - <groupId>org.mortbay.jetty</groupId> + <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-runner</artifactId> <version>${jettyVersion}</version> <scope>provided</scope> </dependency> <dependency> <groupId>javax.servlet</groupId> - <artifactId>servlet-api</artifactId> + <artifactId>javax.servlet-api</artifactId> <version>${servletApiVersion}</version> <scope>provided</scope> </dependency> @@ -99,7 +99,7 @@ War launcher </includes> </overlay> <overlay> - <groupId>org.mortbay.jetty</groupId> + <groupId>org.eclispe.jetty</groupId> <artifactId>jetty-runner</artifactId> <type>jar</type> </overlay> @@ -119,65 +119,7 @@ War launcher In next example we change both: -------------------------------------------------------------------- -java -jar mywar.war --port 8889 --contextPath /mycontextPath +java -jar mywar.war --port 8889 --path /home -------------------------------------------------------------------- -* Use Winstone war launcher - -** Maven configuration - - Add following dependencies to your project. - ------------------------------------------------- -<dependency> - <groupId>org.nuiton.web</groupId> - <artifactId>nuiton-web</artifactId> - <version>${project.version}</version> - <scope>provided</scope> -</dependency> -<dependency> - <groupId>org.jvnet.hudson.winstone</groupId> - <artifactId>winstone</artifactId> - <version>${windstoneVersion}</version> - <scope>provided</scope> -</dependency> ------------------------------------------------- - - They have to be both at least in <<<provided>>> scope. - - Then, you need to add following configuration into maven-war-plugin : - --------------------------------------------------------------------- -<plugin> - <artifactId>maven-war-plugin</artifactId> - <version>${warPluginVersion}</version> - <configuration> - <archive> - <manifest> - <mainClass>org.nuiton.web.war.WinstoneLauncher</mainClass> - </manifest> - </archive> - <overlays> - <overlay> - <groupId>org.nuiton.web</groupId> - <artifactId>nuiton-web</artifactId> - <type>jar</type> - <includes> - <include>**/war/Winstone*</include> - </includes> - </overlay> - <overlay> - <groupId>org.jvnet.hudson.winstone</groupId> - <artifactId>winstone</artifactId> - <type>jar</type> - </overlay> - </overlays> - </configuration> -</plugin> --------------------------------------------------------------------- - -** References - - * Winstone home : {{http://winstone.sourceforge.net}} - - * Winstone command line options : {{http://winstone.sourceforge.net/#commandLine}} + The browser will open on page http://localhost:8889/home \ No newline at end of file -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.