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

View File

@ -117,7 +117,7 @@ public abstract class AbstractJettyMojo extends AbstractMojo
* and restart the context if necessary. Ignored if reload
* is enabled. Disabled by default.
*
* @parameter expression="${jetty.scanIntervalSeconds}" default-value="0"
* @parameter property="jetty.scanIntervalSeconds" default-value="0"
* @required
*/
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 '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;
@ -140,7 +140,7 @@ public abstract class AbstractJettyMojo extends AbstractMojo
* that have been set on the command line, by the JVM, or directly
* in the POM via systemProperties. Optional.
*
* @parameter expression="${jetty.systemPropertiesFile}"
* @parameter property="jetty.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
*
* @parameter expression"${dumponStart}" default-value="false"
* @parameter property="dumponStart" default-value="false"
*/
protected boolean dumpOnStart;
@ -194,7 +194,7 @@ public abstract class AbstractJettyMojo extends AbstractMojo
/**
* Skip this mojo execution.
*
* @parameter expression="${jetty.skip}" default-value="false"
* @parameter property="jetty.skip" default-value="false"
*/
protected boolean skip;
@ -212,7 +212,7 @@ public abstract class AbstractJettyMojo extends AbstractMojo
/**
* The maven project.
*
* @parameter expression="${project}"
* @parameter default-value="${project}"
* @readonly
*/
protected MavenProject project;
@ -221,14 +221,14 @@ public abstract class AbstractJettyMojo extends AbstractMojo
/**
* The artifacts for the project.
*
* @parameter expression="${project.artifacts}"
* @parameter default-value="${project.artifacts}"
* @readonly
*/
protected Set projectArtifacts;
/**
* @parameter expression="${mojoExecution}"
* @parameter default-value="${mojoExecution}"
* @readonly
*/
protected org.apache.maven.plugin.MojoExecution execution;
@ -237,7 +237,7 @@ public abstract class AbstractJettyMojo extends AbstractMojo
/**
* The artifacts for the plugin itself.
*
* @parameter expression="${plugin.artifacts}"
* @parameter default-value="${plugin.artifacts}"
* @readonly
*/
protected List pluginArtifacts;

View File

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

View File

@ -79,7 +79,7 @@ public class JettyRunForkedMojo extends JettyRunMojo
/**
* The target directory
*
* @parameter expression="${project.build.directory}"
* @parameter default-value="${project.build.directory}"
* @required
* @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
*
* @parameter expression="${project.build.directory}/fork-web.xml"
* @parameter default-value="${project.build.directory}/fork-web.xml"
*/
protected File forkWebXml;
/**
* Arbitrary jvm args to pass to the forked process
* @parameter expression="${jetty.jvmArgs}"
* @parameter property="jetty.jvmArgs"
*/
private String jvmArgs;
/**
* @parameter expression="${plugin.artifacts}"
* @parameter default-value="${plugin.artifacts}"
* @readonly
*/
private List pluginArtifacts;
/**
* @parameter expression="${plugin}"
* @parameter default-value="${plugin}"
* @readonly
*/
private PluginDescriptor plugin;
/**
* @parameter expression="true" default-value="true"
* @parameter default-value="true"
*/
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
* if <webApp><descriptor> is not set.
*
* @parameter expression="${maven.war.webxml}"
* @parameter default-value="${maven.war.webxml}"
* @readonly
*/
protected String webXml;
@ -88,7 +88,7 @@ public class JettyRunMojo extends AbstractJettyMojo
/**
* The directory containing generated classes.
*
* @parameter expression="${project.build.outputDirectory}"
* @parameter default-value="${project.build.outputDirectory}"
* @required
*
*/
@ -106,7 +106,7 @@ public class JettyRunMojo extends AbstractJettyMojo
/**
* The directory containing generated test classes.
*
* @parameter expression="${project.build.testOutputDirectory}"
* @parameter default-value="${project.build.testOutputDirectory}"
* @required
*/
protected File testClassesDirectory;
@ -122,7 +122,7 @@ public class JettyRunMojo extends AbstractJettyMojo
/**
* Root directory for all html/jsp etc files
*
* @parameter expression="${maven.war.src}"
* @parameter default-value="${maven.war.src}"
*
*/
protected File webAppSourceDirectory;

View File

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

View File

@ -50,7 +50,7 @@ public class JettyRunWarMojo extends AbstractJettyMojo
/**
* 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
*/
private File war;