blob: 6ce72ddbb8bfbe08371db49dc0954b0311507360 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.9.1) on Mon Dec 07 10:59:53 CST 2020 -->
<title>JettyRunMojo (Eclipse Jetty API Doc - v11.0.0)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2020-12-07">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="JettyRunMojo (Eclipse Jetty API Doc - v11.0.0)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/JettyRunMojo.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.eclipse.jetty.maven.plugin</a></div>
<h2 title="Class JettyRunMojo" class="title">Class JettyRunMojo</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.apache.maven.plugin.AbstractMojo</li>
<li>
<ul class="inheritance">
<li><a href="AbstractWebAppMojo.html" title="class in org.eclipse.jetty.maven.plugin">org.eclipse.jetty.maven.plugin.AbstractWebAppMojo</a></li>
<li>
<ul class="inheritance">
<li><a href="AbstractUnassembledWebAppMojo.html" title="class in org.eclipse.jetty.maven.plugin">org.eclipse.jetty.maven.plugin.AbstractUnassembledWebAppMojo</a></li>
<li>
<ul class="inheritance">
<li>org.eclipse.jetty.maven.plugin.JettyRunMojo</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code>org.apache.maven.plugin.ContextEnabled</code>, <code>org.apache.maven.plugin.Mojo</code></dd>
</dl>
<hr>
<pre>@Mojo(name="run",
requiresDependencyResolution=TEST)
@Execute(phase=TEST_COMPILE)
public class <span class="typeNameLabel">JettyRunMojo</span>
extends <a href="AbstractUnassembledWebAppMojo.html" title="class in org.eclipse.jetty.maven.plugin">AbstractUnassembledWebAppMojo</a></pre>
<div class="block">This goal is used in-situ on a Maven project without first requiring that the project
is assembled into a war, saving time during the development cycle.
<p>
The plugin runs a parallel lifecycle to ensure that the "test-compile" phase has been completed before invoking Jetty. This means
that you do not need to explicity execute a "mvn compile" first. It also means that a "mvn clean jetty:run" will ensure that
a full fresh compile is done before invoking Jetty.
<p>
Once invoked, the plugin can be configured to run continuously, scanning for changes in the project and automatically performing a
hot redeploy when necessary. This allows the developer to concentrate on coding changes to the project using their IDE of choice and have those changes
immediately and transparently reflected in the running web container, eliminating development time that is wasted on rebuilding, reassembling and redeploying.
Alternatively, you can configure the plugin to wait for an &lt;enter&gt; at the command line to manually control redeployment.
<p>
You can configure this goal to run your unassembled webapp either in-process with maven, or forked into a new process, or deployed into a
jetty distribution.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.maven.plugin.AbstractWebAppMojo">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;org.eclipse.jetty.maven.plugin.<a href="AbstractWebAppMojo.html" title="class in org.eclipse.jetty.maven.plugin">AbstractWebAppMojo</a></h3>
<code><a href="AbstractWebAppMojo.DeploymentMode.html" title="enum in org.eclipse.jetty.maven.plugin">AbstractWebAppMojo.DeploymentMode</a></code></li>
</ul>
</li>
</ul>
</section>
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="JettyEmbedder.html" title="class in org.eclipse.jetty.maven.plugin">JettyEmbedder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#embedder">embedder</a></span></code></th>
<td class="colLast">
<div class="block">Only one of the following will be used, depending the mode
the mojo is started in: EMBED, FORK, HOME</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="JettyForker.html" title="class in org.eclipse.jetty.maven.plugin">JettyForker</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#forker">forker</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="JettyHomeForker.html" title="class in org.eclipse.jetty.maven.plugin">JettyHomeForker</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#homeForker">homeForker</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#scan">scan</a></span></code></th>
<td class="colLast">
<div class="block">The interval in seconds to pause before checking if changes
have occurred and re-deploying as necessary.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../util/Scanner.html" title="class in org.eclipse.jetty.util">Scanner</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#scanner">scanner</a></span></code></th>
<td class="colLast">
<div class="block">Scanner to check for files changes to cause redeploy</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.eclipse.jetty.maven.plugin.AbstractUnassembledWebAppMojo">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.eclipse.jetty.maven.plugin.<a href="AbstractUnassembledWebAppMojo.html" title="class in org.eclipse.jetty.maven.plugin">AbstractUnassembledWebAppMojo</a></h3>
<code><a href="AbstractUnassembledWebAppMojo.html#classesDirectory">classesDirectory</a>, <a href="AbstractUnassembledWebAppMojo.html#scanClassesPattern">scanClassesPattern</a>, <a href="AbstractUnassembledWebAppMojo.html#scanTestClassesPattern">scanTestClassesPattern</a>, <a href="AbstractUnassembledWebAppMojo.html#testClassesDirectory">testClassesDirectory</a>, <a href="AbstractUnassembledWebAppMojo.html#webAppSourceDirectory">webAppSourceDirectory</a>, <a href="AbstractUnassembledWebAppMojo.html#webXml">webXml</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.eclipse.jetty.maven.plugin.AbstractWebAppMojo">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.eclipse.jetty.maven.plugin.<a href="AbstractWebAppMojo.html" title="class in org.eclipse.jetty.maven.plugin">AbstractWebAppMojo</a></h3>
<code><a href="AbstractWebAppMojo.html#contextHandlers">contextHandlers</a>, <a href="AbstractWebAppMojo.html#contextXml">contextXml</a>, <a href="AbstractWebAppMojo.html#deployMode">deployMode</a>, <a href="AbstractWebAppMojo.html#env">env</a>, <a href="AbstractWebAppMojo.html#excludedGoals">excludedGoals</a>, <a href="AbstractWebAppMojo.html#execution">execution</a>, <a href="AbstractWebAppMojo.html#FAKE_WEBAPP">FAKE_WEBAPP</a>, <a href="AbstractWebAppMojo.html#forkWebXml">forkWebXml</a>, <a href="AbstractWebAppMojo.html#httpConnector">httpConnector</a>, <a href="AbstractWebAppMojo.html#JETTY_HOME_ARTIFACTID">JETTY_HOME_ARTIFACTID</a>, <a href="AbstractWebAppMojo.html#JETTY_HOME_GROUPID">JETTY_HOME_GROUPID</a>, <a href="AbstractWebAppMojo.html#jettyBase">jettyBase</a>, <a href="AbstractWebAppMojo.html#jettyHome">jettyHome</a>, <a href="AbstractWebAppMojo.html#jettyProperties">jettyProperties</a>, <a href="AbstractWebAppMojo.html#jettyXmls">jettyXmls</a>, <a href="AbstractWebAppMojo.html#jvmArgs">jvmArgs</a>, <a href="AbstractWebAppMojo.html#loginServices">loginServices</a>, <a href="AbstractWebAppMojo.html#mavenProjectHelper">mavenProjectHelper</a>, <a href="AbstractWebAppMojo.html#maxChildStartCheckMs">maxChildStartCheckMs</a>, <a href="AbstractWebAppMojo.html#maxChildStartChecks">maxChildStartChecks</a>, <a href="AbstractWebAppMojo.html#mergedSystemProperties">mergedSystemProperties</a>, <a href="AbstractWebAppMojo.html#modules">modules</a>, <a href="AbstractWebAppMojo.html#originalBaseResource">originalBaseResource</a>, <a href="AbstractWebAppMojo.html#plugin">plugin</a>, <a href="AbstractWebAppMojo.html#pluginArtifacts">pluginArtifacts</a>, <a href="AbstractWebAppMojo.html#project">project</a>, <a href="AbstractWebAppMojo.html#projectArtifacts">projectArtifacts</a>, <a href="AbstractWebAppMojo.html#providedJars">providedJars</a>, <a href="AbstractWebAppMojo.html#reactorProjects">reactorProjects</a>, <a href="AbstractWebAppMojo.html#requestLog">requestLog</a>, <a href="AbstractWebAppMojo.html#scanTargetPatterns">scanTargetPatterns</a>, <a href="AbstractWebAppMojo.html#server">server</a>, <a href="AbstractWebAppMojo.html#skip">skip</a>, <a href="AbstractWebAppMojo.html#stopKey">stopKey</a>, <a href="AbstractWebAppMojo.html#stopPort">stopPort</a>, <a href="AbstractWebAppMojo.html#supportedPackagings">supportedPackagings</a>, <a href="AbstractWebAppMojo.html#systemProperties">systemProperties</a>, <a href="AbstractWebAppMojo.html#systemPropertiesFile">systemPropertiesFile</a>, <a href="AbstractWebAppMojo.html#target">target</a>, <a href="AbstractWebAppMojo.html#useProvidedScope">useProvidedScope</a>, <a href="AbstractWebAppMojo.html#useTestScope">useTestScope</a>, <a href="AbstractWebAppMojo.html#warArtifacts">warArtifacts</a>, <a href="AbstractWebAppMojo.html#webApp">webApp</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.apache.maven.plugin.Mojo">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;org.apache.maven.plugin.Mojo</h3>
<code>ROLE</code></li>
</ul>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">JettyRunMojo</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#configureScanner()">configureScanner</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#execute()">execute</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#gatherScannables()">gatherScannables</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#restartWebApp(boolean)">restartWebApp</a></span>&#8203;(boolean&nbsp;reconfigure)</code></th>
<td class="colLast">
<div class="block">Stop an executing webapp and restart it after optionally
reconfiguring it.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#startJettyEmbedded()">startJettyEmbedded</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#startJettyForked()">startJettyForked</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#startJettyHome()">startJettyHome</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.maven.plugin.AbstractUnassembledWebAppMojo">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.jetty.maven.plugin.<a href="AbstractUnassembledWebAppMojo.html" title="class in org.eclipse.jetty.maven.plugin">AbstractUnassembledWebAppMojo</a></h3>
<code><a href="AbstractUnassembledWebAppMojo.html#configureUnassembledWebApp()">configureUnassembledWebApp</a>, <a href="AbstractUnassembledWebAppMojo.html#configureWebApp()">configureWebApp</a>, <a href="AbstractUnassembledWebAppMojo.html#getWebInfLibArtifacts()">getWebInfLibArtifacts</a>, <a href="AbstractUnassembledWebAppMojo.html#verifyPomConfiguration()">verifyPomConfiguration</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.maven.plugin.AbstractWebAppMojo">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.jetty.maven.plugin.<a href="AbstractWebAppMojo.html" title="class in org.eclipse.jetty.maven.plugin">AbstractWebAppMojo</a></h3>
<code><a href="AbstractWebAppMojo.html#augmentPluginClasspath()">augmentPluginClasspath</a>, <a href="AbstractWebAppMojo.html#configureScanTargetPatterns(org.eclipse.jetty.util.Scanner)">configureScanTargetPatterns</a>, <a href="AbstractWebAppMojo.html#configureSystemProperties()">configureSystemProperties</a>, <a href="AbstractWebAppMojo.html#findJettyWebXmlFile(java.io.File)">findJettyWebXmlFile</a>, <a href="AbstractWebAppMojo.html#getContainerClassPath()">getContainerClassPath</a>, <a href="AbstractWebAppMojo.html#getJettyOutputFile(java.lang.String)">getJettyOutputFile</a>, <a href="AbstractWebAppMojo.html#getProjectName()">getProjectName</a>, <a href="AbstractWebAppMojo.html#getProvidedJars()">getProvidedJars</a>, <a href="AbstractWebAppMojo.html#isExcludedGoal(java.lang.String)">isExcludedGoal</a>, <a href="AbstractWebAppMojo.html#isPackagingSupported()">isPackagingSupported</a>, <a href="AbstractWebAppMojo.html#isPluginArtifact(org.apache.maven.artifact.Artifact)">isPluginArtifact</a>, <a href="AbstractWebAppMojo.html#mergeSystemProperties()">mergeSystemProperties</a>, <a href="AbstractWebAppMojo.html#newJettyEmbedder()">newJettyEmbedder</a>, <a href="AbstractWebAppMojo.html#newJettyForker()">newJettyForker</a>, <a href="AbstractWebAppMojo.html#newJettyHomeForker()">newJettyHomeForker</a>, <a href="AbstractWebAppMojo.html#startJetty()">startJetty</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.maven.plugin.AbstractMojo">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.maven.plugin.AbstractMojo</h3>
<code>getLog, getPluginContext, setLog, setPluginContext</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="scan">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>scan</h4>
<pre>@Parameter(defaultValue="0",
property="jetty.scan",
required=true)
protected&nbsp;int scan</pre>
<div class="block">The interval in seconds to pause before checking if changes
have occurred and re-deploying as necessary. A value
of 0 indicates no re-deployment will be done. In that case, you
can force redeployment by typing a linefeed character at the command line.</div>
</li>
</ul>
<a id="scanner">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>scanner</h4>
<pre>protected&nbsp;<a href="../../util/Scanner.html" title="class in org.eclipse.jetty.util">Scanner</a> scanner</pre>
<div class="block">Scanner to check for files changes to cause redeploy</div>
</li>
</ul>
<a id="embedder">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>embedder</h4>
<pre>protected&nbsp;<a href="JettyEmbedder.html" title="class in org.eclipse.jetty.maven.plugin">JettyEmbedder</a> embedder</pre>
<div class="block">Only one of the following will be used, depending the mode
the mojo is started in: EMBED, FORK, HOME</div>
</li>
</ul>
<a id="forker">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>forker</h4>
<pre>protected&nbsp;<a href="JettyForker.html" title="class in org.eclipse.jetty.maven.plugin">JettyForker</a> forker</pre>
</li>
</ul>
<a id="homeForker">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>homeForker</h4>
<pre>protected&nbsp;<a href="JettyHomeForker.html" title="class in org.eclipse.jetty.maven.plugin">JettyHomeForker</a> homeForker</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>JettyRunMojo</h4>
<pre>public&nbsp;JettyRunMojo()</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="execute()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>execute</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>execute</code>&nbsp;in interface&nbsp;<code>org.apache.maven.plugin.Mojo</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="AbstractWebAppMojo.html#execute()">execute</a></code>&nbsp;in class&nbsp;<code><a href="AbstractWebAppMojo.html" title="class in org.eclipse.jetty.maven.plugin">AbstractWebAppMojo</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.maven.plugin.MojoExecutionException</code></dd>
<dd><code>org.apache.maven.plugin.MojoFailureException</code></dd>
</dl>
</li>
</ul>
<a id="startJettyEmbedded()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startJettyEmbedded</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;startJettyEmbedded()
throws org.apache.maven.plugin.MojoExecutionException</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="AbstractWebAppMojo.html#startJettyEmbedded()">startJettyEmbedded</a></code>&nbsp;in class&nbsp;<code><a href="AbstractWebAppMojo.html" title="class in org.eclipse.jetty.maven.plugin">AbstractWebAppMojo</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.maven.plugin.MojoExecutionException</code></dd>
</dl>
</li>
</ul>
<a id="startJettyForked()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startJettyForked</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;startJettyForked()
throws org.apache.maven.plugin.MojoExecutionException</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="AbstractWebAppMojo.html#startJettyForked()">startJettyForked</a></code>&nbsp;in class&nbsp;<code><a href="AbstractWebAppMojo.html" title="class in org.eclipse.jetty.maven.plugin">AbstractWebAppMojo</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.maven.plugin.MojoExecutionException</code></dd>
</dl>
</li>
</ul>
<a id="startJettyHome()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startJettyHome</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;startJettyHome()
throws org.apache.maven.plugin.MojoExecutionException</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="AbstractWebAppMojo.html#startJettyHome()">startJettyHome</a></code>&nbsp;in class&nbsp;<code><a href="AbstractWebAppMojo.html" title="class in org.eclipse.jetty.maven.plugin">AbstractWebAppMojo</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.maven.plugin.MojoExecutionException</code></dd>
</dl>
</li>
</ul>
<a id="configureScanner()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>configureScanner</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;configureScanner()
throws org.apache.maven.plugin.MojoExecutionException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.maven.plugin.MojoExecutionException</code></dd>
</dl>
</li>
</ul>
<a id="gatherScannables()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>gatherScannables</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;gatherScannables()
throws java.lang.Exception</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="restartWebApp(boolean)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>restartWebApp</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;restartWebApp&#8203;(boolean&nbsp;reconfigure)
throws java.lang.Exception</pre>
<div class="block">Stop an executing webapp and restart it after optionally
reconfiguring it.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>reconfigure</code> - if true, the scanner will
be reconfigured after changes to the pom. If false, only
the webapp will be reconfigured.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/JettyRunMojo.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 1995&#x2013;2020 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p>
</footer>
</body>
</html>