remove prereq

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163591 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-03-17 02:48:40 +00:00
parent dbe55b7d83
commit 403255afc4
1 changed files with 0 additions and 19 deletions

View File

@ -60,8 +60,6 @@ public class JavaMojoDescriptorExtractor
public static final String GOAL_DESCRIPTION = "description"; public static final String GOAL_DESCRIPTION = "description";
public static final String GOAL_PREREQ = "prereq";
public static final String GOAL_REQUIRES_DEPENDENCY_RESOLUTION = "requiresDependencyResolution"; public static final String GOAL_REQUIRES_DEPENDENCY_RESOLUTION = "requiresDependencyResolution";
public static final String GOAL_MULTI_EXECUTION_STRATEGY = "attainAlways"; public static final String GOAL_MULTI_EXECUTION_STRATEGY = "attainAlways";
@ -218,23 +216,6 @@ private MojoDescriptor createMojoDescriptor( JavaSource javaSource, MavenProject
mojoDescriptor.setParameters( parameters ); mojoDescriptor.setParameters( parameters );
// ----------------------------------------------------------------------
// Prereqs must in the form pluginId:goalName
// ----------------------------------------------------------------------
DocletTag[] goalPrereqTags = javaClass.getTagsByName( GOAL_PREREQ );
List goalPrereqs = new ArrayList();
for ( int j = 0; j < goalPrereqTags.length; j++ )
{
DocletTag goalPrereq = goalPrereqTags[j];
goalPrereqs.add( goalPrereq.getValue() );
}
mojoDescriptor.setPrereqs( goalPrereqs );
return mojoDescriptor; return mojoDescriptor;
} }