o Polished code

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@940009 13f79535-47bb-0310-9956-ffa450edef68
master
Benjamin Bentmann 2010-05-01 13:32:37 +00:00
parent 8f3fb7e4e2
commit a54c0dca73
2 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ public abstract class AbstractGeneratorMojo
/**
* The project currently being built.
*
* @parameter expression="${project}"
* @parameter default-value="${project}"
* @required
* @readonly
*/
@ -118,7 +118,7 @@ public abstract class AbstractGeneratorMojo
public void execute()
throws MojoExecutionException
{
if ( !project.getPackaging().equals( "maven-plugin" ) )
if ( !"maven-plugin".equals( project.getPackaging() ) )
{
return;
}

View File

@ -44,7 +44,7 @@ public class AddPluginArtifactMetadataMojo
/**
* The project artifact, which should have the LATEST metadata added to it.
*
* @parameter expression="${project}"
* @parameter default-value="${project}"
* @required
* @readonly
*/