diff --git a/maven-plugin-tools/maven-plugin-tools-java/src/main/java/org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractor.java b/maven-plugin-tools/maven-plugin-tools-java/src/main/java/org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractor.java index 668ec7bed2..e4d95e9c00 100644 --- a/maven-plugin-tools/maven-plugin-tools-java/src/main/java/org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractor.java +++ b/maven-plugin-tools/maven-plugin-tools-java/src/main/java/org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractor.java @@ -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; }