o Polished code
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@940009 13f79535-47bb-0310-9956-ffa450edef68master
parent
8f3fb7e4e2
commit
a54c0dca73
|
|
@ -48,7 +48,7 @@ public abstract class AbstractGeneratorMojo
|
||||||
/**
|
/**
|
||||||
* The project currently being built.
|
* The project currently being built.
|
||||||
*
|
*
|
||||||
* @parameter expression="${project}"
|
* @parameter default-value="${project}"
|
||||||
* @required
|
* @required
|
||||||
* @readonly
|
* @readonly
|
||||||
*/
|
*/
|
||||||
|
|
@ -118,7 +118,7 @@ public abstract class AbstractGeneratorMojo
|
||||||
public void execute()
|
public void execute()
|
||||||
throws MojoExecutionException
|
throws MojoExecutionException
|
||||||
{
|
{
|
||||||
if ( !project.getPackaging().equals( "maven-plugin" ) )
|
if ( !"maven-plugin".equals( project.getPackaging() ) )
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ public class AddPluginArtifactMetadataMojo
|
||||||
/**
|
/**
|
||||||
* The project artifact, which should have the LATEST metadata added to it.
|
* The project artifact, which should have the LATEST metadata added to it.
|
||||||
*
|
*
|
||||||
* @parameter expression="${project}"
|
* @parameter default-value="${project}"
|
||||||
* @required
|
* @required
|
||||||
* @readonly
|
* @readonly
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue