Issue #1743 Rename mojos.

Signed-off-by: Jan Bartel <janb@webtide.com>
This commit is contained in:
Jan Bartel 2019-09-24 17:07:03 +10:00
parent e865cc3fd8
commit 557cd83713
6 changed files with 6 additions and 6 deletions

View File

@ -33,7 +33,7 @@ import org.eclipse.jetty.util.StringUtil;
* *
*/ */
@Mojo(name = "effective-web-xml", requiresDependencyResolution = ResolutionScope.RUNTIME) @Mojo(name = "effective-web-xml", requiresDependencyResolution = ResolutionScope.RUNTIME)
public class NewJettyEffectiveWebXml extends AbstractWebAppMojo public class JettyEffectiveWebXml extends AbstractWebAppMojo
{ {
/** /**
* The name of the file to generate into * The name of the file to generate into

View File

@ -53,7 +53,7 @@ import org.eclipse.jetty.webapp.WebAppContext;
*/ */
@Mojo (name="run", requiresDependencyResolution = ResolutionScope.TEST) @Mojo (name="run", requiresDependencyResolution = ResolutionScope.TEST)
@Execute (phase = LifecyclePhase.TEST_COMPILE) @Execute (phase = LifecyclePhase.TEST_COMPILE)
public class NewJettyRunMojo extends AbstractWebAppMojo public class JettyRunMojo extends AbstractWebAppMojo
{ {
//Start of parameters only valid for runType=inprocess //Start of parameters only valid for runType=inprocess
/** /**

View File

@ -49,7 +49,7 @@ import org.eclipse.jetty.util.StringUtil;
*/ */
@Mojo( name = "run-war", requiresDependencyResolution = ResolutionScope.COMPILE_PLUS_RUNTIME) @Mojo( name = "run-war", requiresDependencyResolution = ResolutionScope.COMPILE_PLUS_RUNTIME)
@Execute(phase = LifecyclePhase.PACKAGE) @Execute(phase = LifecyclePhase.PACKAGE)
public class NewJettyRunWarMojo extends AbstractWebAppMojo public class JettyRunWarMojo extends AbstractWebAppMojo
{ {
//Start of parameters only valid for runType=EMBED //Start of parameters only valid for runType=EMBED
/** /**

View File

@ -39,7 +39,7 @@ import org.apache.maven.plugins.annotations.ResolutionScope;
*/ */
@Mojo(name = "start", requiresDependencyResolution = ResolutionScope.TEST) @Mojo(name = "start", requiresDependencyResolution = ResolutionScope.TEST)
@Execute(phase = LifecyclePhase.VALIDATE) @Execute(phase = LifecyclePhase.VALIDATE)
public class NewJettyStartMojo extends AbstractWebAppMojo public class JettyStartMojo extends AbstractWebAppMojo
{ {
@Override @Override
protected void configureWebApp() throws Exception protected void configureWebApp() throws Exception

View File

@ -47,7 +47,7 @@ import org.eclipse.jetty.util.StringUtil;
* </p> * </p>
*/ */
@Mojo(name = "start-war", requiresDependencyResolution = ResolutionScope.RUNTIME) @Mojo(name = "start-war", requiresDependencyResolution = ResolutionScope.RUNTIME)
public class NewJettyStartWarMojo extends AbstractWebAppMojo public class JettyStartWarMojo extends AbstractWebAppMojo
{ {
protected JettyEmbedder embedder; protected JettyEmbedder embedder;
protected JettyForker forker; protected JettyForker forker;

View File

@ -39,7 +39,7 @@ import org.apache.maven.plugins.annotations.Parameter;
* configure which jetty to stop. * configure which jetty to stop.
*/ */
@Mojo(name = "stop") @Mojo(name = "stop")
public class NewJettyStopMojo extends AbstractWebAppMojo public class JettyStopMojo extends AbstractWebAppMojo
{ {
/** /**
* Max time in seconds that the plugin will wait for confirmation that jetty has stopped. * Max time in seconds that the plugin will wait for confirmation that jetty has stopped.