View Javadoc

1   //========================================================================
2   //$Id: Jetty6DeployWar.java 2301 2008-01-04 05:19:03Z janb $
3   //Copyright 2000-2009 Mort Bay Consulting Pty. Ltd.
4   //------------------------------------------------------------------------
5   //Licensed under the Apache License, Version 2.0 (the "License");
6   //you may not use this file except in compliance with the License.
7   //You may obtain a copy of the License at 
8   //http://www.apache.org/licenses/LICENSE-2.0
9   //Unless required by applicable law or agreed to in writing, software
10  //distributed under the License is distributed on an "AS IS" BASIS,
11  //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  //See the License for the specific language governing permissions and
13  //limitations under the License.
14  //========================================================================
15  
16  package org.mortbay.jetty.plugin;
17  
18  
19  /**
20   * <p>
21   * This goal is used to run Jetty with a pre-assembled war.
22   * </p>
23   * <p>
24   * It accepts exactly the same options as the <a href="run-war-mojo.html">run-war</a> goal. 
25   * However, it doesn't assume that the current artifact is a
26   * webapp and doesn't try to assemble it into a war before its execution. 
27   * So using it makes sense only when used in conjunction with the 
28   * <a href="run-war-mojo.html#webApp">webApp</a> configuration parameter pointing to a pre-built WAR.
29   * </p>
30   * <p>
31   * This goal is useful e.g. for launching a web app in Jetty as a target for unit-tested 
32   * HTTP client components.
33   * </p>
34   * 
35   * @goal deploy-war
36   * @requiresDependencyResolution runtime
37   * @execute phase="validate"
38   * @description Deploy a pre-assembled war
39   * 
40   */
41  public class Jetty6DeployWar extends Jetty6RunWar
42  {
43  }