fixed problems reported by Checkstyle

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1343107 13f79535-47bb-0310-9956-ffa450edef68
master
Herve Boutemy 2012-05-27 21:35:40 +00:00
parent 2ebeedd214
commit 5652eb99e4
3 changed files with 3 additions and 4 deletions

View File

@ -46,7 +46,7 @@ import org.codehaus.plexus.util.StringUtils;
*
* @version $Id$
*/
@Component( role = MojoDescriptorExtractor.class, hint = "ant")
@Component( role = MojoDescriptorExtractor.class, hint = "ant" )
public class AntMojoDescriptorExtractor
extends AbstractScriptedMojoDescriptorExtractor
implements MojoDescriptorExtractor

View File

@ -22,7 +22,6 @@ package org.apache.maven.tools.plugin.generator;
import org.apache.maven.tools.plugin.PluginToolsRequest;
import java.io.File;
import java.io.IOException;
/**
* Generate something, for instance a plugin report, from a plugin descriptor.

View File

@ -278,7 +278,7 @@ public class JavaMojoDescriptorExtractor
{
getLogger().warn( "@" + JavaMojoAnnotation.MULTI_EXECUTION_STRATEGY + " in "
+ javaClass.getFullyQualifiedName() + " is deprecated: please use '@"
+ JavaMojoAnnotation.EXECUTION_STATEGY + " always' instead.");
+ JavaMojoAnnotation.EXECUTION_STATEGY + " always' instead." );
mojoDescriptor.setExecutionStrategy( MojoDescriptor.MULTI_PASS_EXEC_STRATEGY );
}
else