mirror of https://github.com/apache/maven.git
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:
parent
dbe55b7d83
commit
403255afc4
|
@ -60,8 +60,6 @@ public class JavaMojoDescriptorExtractor
|
|||
|
||||
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_MULTI_EXECUTION_STRATEGY = "attainAlways";
|
||||
|
@ -218,23 +216,6 @@ public class JavaMojoDescriptorExtractor
|
|||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue