o Updated mojo annotations
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@649635 13f79535-47bb-0310-9956-ffa450edef68master
parent
1960c7639a
commit
5bdef47928
|
|
@ -45,13 +45,14 @@ public abstract class AbstractGeneratorMojo
|
|||
*
|
||||
* @parameter expression="${project}"
|
||||
* @required
|
||||
* @readonly
|
||||
*/
|
||||
protected MavenProject project;
|
||||
|
||||
/**
|
||||
* The component used for scanning the source tree for mojos.
|
||||
*
|
||||
* @parameter expression="${component.org.apache.maven.tools.plugin.scanner.MojoScanner}"
|
||||
* @component
|
||||
* @required
|
||||
*/
|
||||
protected MojoScanner mojoScanner;
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ import java.io.File;
|
|||
*
|
||||
* @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
|
||||
* @version $Id$
|
||||
* @since 2.0
|
||||
* @goal descriptor
|
||||
* @phase generate-resources
|
||||
* @requiresDependencyResolution runtime
|
||||
|
|
@ -41,8 +42,7 @@ public class DescriptorGeneratorMojo
|
|||
/**
|
||||
* The directory where the generated plugin.xml file will be put.
|
||||
*
|
||||
* @parameter expression="${project.build.outputDirectory}/META-INF/maven"
|
||||
* @required
|
||||
* @parameter default-value="${project.build.outputDirectory}/META-INF/maven"
|
||||
*/
|
||||
protected File outputDirectory;
|
||||
|
||||
|
|
|
|||
|
|
@ -40,8 +40,7 @@ public class HelpGeneratorMojo
|
|||
/**
|
||||
* The directory where the generated <code>HelpMojo</code> file will be put.
|
||||
*
|
||||
* @parameter expression="${project.build.directory}/generated-sources/plugin"
|
||||
* @required
|
||||
* @parameter default-value="${project.build.directory}/generated-sources/plugin"
|
||||
*/
|
||||
protected File outputDirectory;
|
||||
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ import org.codehaus.plexus.util.xml.Xpp3Dom;
|
|||
* @author <a href="snicoll@apache.org">Stephane Nicoll</a>
|
||||
* @author <a href="mailto:vincent.siveton@gmail.com">Vincent Siveton</a>
|
||||
* @version $Id$
|
||||
* @since 2.0
|
||||
* @goal report
|
||||
* @execute phase="compile"
|
||||
*/
|
||||
|
|
@ -59,8 +60,7 @@ public class PluginReport
|
|||
/**
|
||||
* Report output directory.
|
||||
*
|
||||
* @parameter expression="${project.build.directory}/generated-site/xdoc"
|
||||
* @required
|
||||
* @parameter default-value="${project.build.directory}/generated-site/xdoc"
|
||||
*/
|
||||
private String outputDirectory;
|
||||
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ import java.util.Date;
|
|||
/**
|
||||
* Update the user plugin registry (if it's in use) to reflect the version we're installing.
|
||||
*
|
||||
* @since 2.0
|
||||
* @goal updateRegistry
|
||||
* @phase install
|
||||
* @version $Id$
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ import java.io.File;
|
|||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
* @version $Id$
|
||||
* @since 2.0
|
||||
* @goal xdoc
|
||||
*/
|
||||
public class XdocGeneratorMojo
|
||||
|
|
@ -37,8 +38,7 @@ public class XdocGeneratorMojo
|
|||
/**
|
||||
* The directory where the generated Xdoc files will be put.
|
||||
*
|
||||
* @parameter expression="${project.build.directory}/generated-site/xdoc"
|
||||
* @required
|
||||
* @parameter default-value="${project.build.directory}/generated-site/xdoc"
|
||||
*/
|
||||
protected File outputDirectory;
|
||||
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ import org.apache.maven.project.MavenProject;
|
|||
* and deployment. The first use-case for this is to add the LATEST metadata (which is plugin-specific)
|
||||
* for shipping alongside the plugin's artifact.
|
||||
*
|
||||
* @since 2.0
|
||||
* @phase package
|
||||
* @goal addPluginArtifactMetadata
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue