Index: src/main/java/org/mortbay/jetty/plugin/Jetty6RunWarNoFork.java =================================================================== --- src/main/java/org/mortbay/jetty/plugin/Jetty6RunWarNoFork.java (revision 0) +++ src/main/java/org/mortbay/jetty/plugin/Jetty6RunWarNoFork.java (revision 0) @@ -0,0 +1,47 @@ +//======================================================================== +//$Id: Jetty6RunWar.java 2301 2008-01-04 05:19:03Z janb $ +//Copyright 2000-2004 Mort Bay Consulting Pty. Ltd. +//------------------------------------------------------------------------ +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +//http://www.apache.org/licenses/LICENSE-2.0 +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. +//======================================================================== + +package org.mortbay.jetty.plugin; + +import java.io.File; +import java.util.ArrayList; +import java.util.List; + +import org.apache.maven.plugin.MojoExecutionException; +import org.apache.maven.plugin.MojoFailureException; +import org.mortbay.util.Scanner; + +/** + *
+ * This goal is used to run Jetty with an already assembled war. + *
+ *+ * It accepts exactly the same options as the run-war goal. However, it doesn't assume that the current artifact is a + * webapp and doesn't try to assemble it into a war before its execution. So using it makes sense only when used in conjunction with the webApp configuration parameter pointing to a pre-built WAR. + *
+ *+ * This goal is useful e.g. for launching a web app in Jetty as a target for unit-tested HTTP client components. + *
+ * + * @goal run-war-nofork + * @requiresDependencyResolution runtime + * @execute phase="validate" + * @description Runs jetty6 on a war file + * + */ +public class Jetty6RunWarNoFork extends Jetty6RunWar +{ +}