fixed problems reported by Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1343107 13f79535-47bb-0310-9956-ffa450edef68master
parent
2ebeedd214
commit
5652eb99e4
|
|
@ -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
|
||||
|
|
@ -59,7 +59,7 @@ public class AntMojoDescriptorExtractor
|
|||
|
||||
/** {@inheritDoc} */
|
||||
protected List<MojoDescriptor> extractMojoDescriptorsFromMetadata( Map<String, Set<File>> metadataFilesKeyedByBasedir,
|
||||
PluginToolsRequest request )
|
||||
PluginToolsRequest request )
|
||||
throws ExtractionException, InvalidPluginDescriptorException
|
||||
{
|
||||
List<MojoDescriptor> descriptors = new ArrayList<MojoDescriptor>();
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue