470963 Update jetty-maven-plugin mojo annotations for maven 3

This commit is contained in:
Jan Bartel 2015-06-26 16:35:55 +10:00
parent 96f7856b89
commit 2349f20edf
7 changed files with 26 additions and 26 deletions

View File

@ -138,7 +138,7 @@ public class JspcMojo extends AbstractMojo
* The artifacts for the project. * The artifacts for the project.
* *
* @since jetty-7.6.3 * @since jetty-7.6.3
* @parameter expression="${project.artifacts}" * @parameter default-value="${project.artifacts}"
* @readonly * @readonly
*/ */
private Set projectArtifacts; private Set projectArtifacts;
@ -147,7 +147,7 @@ public class JspcMojo extends AbstractMojo
/** /**
* The maven project. * The maven project.
* *
* @parameter expression="${project}" * @parameter default-value="${project}"
* @required * @required
* @readonly * @readonly
*/ */
@ -158,7 +158,7 @@ public class JspcMojo extends AbstractMojo
/** /**
* The artifacts for the plugin itself. * The artifacts for the plugin itself.
* *
* @parameter expression="${plugin.artifacts}" * @parameter default-value="${plugin.artifacts}"
* @readonly * @readonly
*/ */
private List pluginArtifacts; private List pluginArtifacts;
@ -243,7 +243,7 @@ public class JspcMojo extends AbstractMojo
/** /**
* The location of the compiled classes for the webapp * The location of the compiled classes for the webapp
* *
* @parameter expression="${project.build.outputDirectory}" * @parameter default-value="${project.build.outputDirectory}"
*/ */
private File classesDirectory; private File classesDirectory;

View File

@ -117,7 +117,7 @@ public abstract class AbstractJettyMojo extends AbstractMojo
* and restart the context if necessary. Ignored if reload * and restart the context if necessary. Ignored if reload
* is enabled. Disabled by default. * is enabled. Disabled by default.
* *
* @parameter expression="${jetty.scanIntervalSeconds}" default-value="0" * @parameter property="jetty.scanIntervalSeconds" default-value="0"
* @required * @required
*/ */
protected int scanIntervalSeconds; protected int scanIntervalSeconds;
@ -128,7 +128,7 @@ public abstract class AbstractJettyMojo extends AbstractMojo
* if 'manual' then the context can be reloaded by a linefeed in the console * if 'manual' then the context can be reloaded by a linefeed in the console
* if 'automatic' then traditional reloading on changed files is enabled. * if 'automatic' then traditional reloading on changed files is enabled.
* *
* @parameter expression="${jetty.reload}" default-value="automatic" * @parameter property="jetty.reload" default-value="automatic"
*/ */
protected String reload; protected String reload;
@ -140,7 +140,7 @@ public abstract class AbstractJettyMojo extends AbstractMojo
* that have been set on the command line, by the JVM, or directly * that have been set on the command line, by the JVM, or directly
* in the POM via systemProperties. Optional. * in the POM via systemProperties. Optional.
* *
* @parameter expression="${jetty.systemPropertiesFile}" * @parameter property="jetty.systemPropertiesFile"
*/ */
protected File systemPropertiesFile; protected File systemPropertiesFile;
@ -186,7 +186,7 @@ public abstract class AbstractJettyMojo extends AbstractMojo
/** /**
* Use the dump() facility of jetty to print out the server configuration to logging * Use the dump() facility of jetty to print out the server configuration to logging
* *
* @parameter expression"${dumponStart}" default-value="false" * @parameter property="dumponStart" default-value="false"
*/ */
protected boolean dumpOnStart; protected boolean dumpOnStart;
@ -194,7 +194,7 @@ public abstract class AbstractJettyMojo extends AbstractMojo
/** /**
* Skip this mojo execution. * Skip this mojo execution.
* *
* @parameter expression="${jetty.skip}" default-value="false" * @parameter property="jetty.skip" default-value="false"
*/ */
protected boolean skip; protected boolean skip;
@ -212,7 +212,7 @@ public abstract class AbstractJettyMojo extends AbstractMojo
/** /**
* The maven project. * The maven project.
* *
* @parameter expression="${project}" * @parameter default-value="${project}"
* @readonly * @readonly
*/ */
protected MavenProject project; protected MavenProject project;
@ -221,14 +221,14 @@ public abstract class AbstractJettyMojo extends AbstractMojo
/** /**
* The artifacts for the project. * The artifacts for the project.
* *
* @parameter expression="${project.artifacts}" * @parameter default-value="${project.artifacts}"
* @readonly * @readonly
*/ */
protected Set projectArtifacts; protected Set projectArtifacts;
/** /**
* @parameter expression="${mojoExecution}" * @parameter default-value="${mojoExecution}"
* @readonly * @readonly
*/ */
protected org.apache.maven.plugin.MojoExecution execution; protected org.apache.maven.plugin.MojoExecution execution;
@ -237,7 +237,7 @@ public abstract class AbstractJettyMojo extends AbstractMojo
/** /**
* The artifacts for the plugin itself. * The artifacts for the plugin itself.
* *
* @parameter expression="${plugin.artifacts}" * @parameter default-value="${plugin.artifacts}"
* @readonly * @readonly
*/ */
protected List pluginArtifacts; protected List pluginArtifacts;

View File

@ -42,7 +42,7 @@ public class JettyEffectiveWebXml extends JettyRunMojo
/** /**
* The target directory * The target directory
* *
* @parameter expression="${project.build.directory}" * @parameter default-value="${project.build.directory}"
* @required * @required
* @readonly * @readonly
*/ */

View File

@ -79,7 +79,7 @@ public class JettyRunForkedMojo extends JettyRunMojo
/** /**
* The target directory * The target directory
* *
* @parameter expression="${project.build.directory}" * @parameter default-value="${project.build.directory}"
* @required * @required
* @readonly * @readonly
*/ */
@ -88,34 +88,34 @@ public class JettyRunForkedMojo extends JettyRunMojo
/** /**
* The file into which to generate the quickstart web xml for the forked process to use * The file into which to generate the quickstart web xml for the forked process to use
* *
* @parameter expression="${project.build.directory}/fork-web.xml" * @parameter default-value="${project.build.directory}/fork-web.xml"
*/ */
protected File forkWebXml; protected File forkWebXml;
/** /**
* Arbitrary jvm args to pass to the forked process * Arbitrary jvm args to pass to the forked process
* @parameter expression="${jetty.jvmArgs}" * @parameter property="jetty.jvmArgs"
*/ */
private String jvmArgs; private String jvmArgs;
/** /**
* @parameter expression="${plugin.artifacts}" * @parameter default-value="${plugin.artifacts}"
* @readonly * @readonly
*/ */
private List pluginArtifacts; private List pluginArtifacts;
/** /**
* @parameter expression="${plugin}" * @parameter default-value="${plugin}"
* @readonly * @readonly
*/ */
private PluginDescriptor plugin; private PluginDescriptor plugin;
/** /**
* @parameter expression="true" default-value="true" * @parameter default-value="true"
*/ */
private boolean waitForChild; private boolean waitForChild;

View File

@ -79,7 +79,7 @@ public class JettyRunMojo extends AbstractJettyMojo
* The default location of the web.xml file. Will be used * The default location of the web.xml file. Will be used
* if <webApp><descriptor> is not set. * if <webApp><descriptor> is not set.
* *
* @parameter expression="${maven.war.webxml}" * @parameter default-value="${maven.war.webxml}"
* @readonly * @readonly
*/ */
protected String webXml; protected String webXml;
@ -88,7 +88,7 @@ public class JettyRunMojo extends AbstractJettyMojo
/** /**
* The directory containing generated classes. * The directory containing generated classes.
* *
* @parameter expression="${project.build.outputDirectory}" * @parameter default-value="${project.build.outputDirectory}"
* @required * @required
* *
*/ */
@ -106,7 +106,7 @@ public class JettyRunMojo extends AbstractJettyMojo
/** /**
* The directory containing generated test classes. * The directory containing generated test classes.
* *
* @parameter expression="${project.build.testOutputDirectory}" * @parameter default-value="${project.build.testOutputDirectory}"
* @required * @required
*/ */
protected File testClassesDirectory; protected File testClassesDirectory;
@ -122,7 +122,7 @@ public class JettyRunMojo extends AbstractJettyMojo
/** /**
* Root directory for all html/jsp etc files * Root directory for all html/jsp etc files
* *
* @parameter expression="${maven.war.src}" * @parameter default-value="${maven.war.src}"
* *
*/ */
protected File webAppSourceDirectory; protected File webAppSourceDirectory;

View File

@ -52,7 +52,7 @@ public class JettyRunWarExplodedMojo extends AbstractJettyMojo
/** /**
* The location of the war file. * The location of the war file.
* *
* @parameter expression="${project.build.directory}/${project.build.finalName}" * @parameter default-value="${project.build.directory}/${project.build.finalName}"
* @required * @required
*/ */
private File war; private File war;

View File

@ -50,7 +50,7 @@ public class JettyRunWarMojo extends AbstractJettyMojo
/** /**
* The location of the war file. * The location of the war file.
* @parameter expression="${project.build.directory}/${project.build.finalName}.war" * @parameter default-value="${project.build.directory}/${project.build.finalName}.war"
* @required * @required
*/ */
private File war; private File war;