org.mortbay.jetty.plugin.JettyDeployWar Maven / Gradle / Ivy
//========================================================================
//$Id: $
//Copyright 2000-2009 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;
/**
*
* This goal is used to run Jetty with a pre-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 deploy-war
* @requiresDependencyResolution runtime
* @execute phase="validate"
* @description Deploy a pre-assembled war
*
*/
public class JettyDeployWar extends JettyRunWarMojo
{
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy