maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: maven-components/maven-plugin-tools/maven-plugin-tools-java/src/main/java/org/apache/maven/tools/plugin/extractor/java JavaMojoDescriptorExtractor.java
Date Thu, 17 Mar 2005 02:48:40 GMT
brett       2005/03/16 18:48:40

  Modified:    maven-plugin-tools/maven-plugin-tools-java/src/main/java/org/apache/maven/tools/plugin/extractor/java
                        JavaMojoDescriptorExtractor.java
  Log:
  remove prereq
  
  Revision  Changes    Path
  1.7       +0 -19     maven-components/maven-plugin-tools/maven-plugin-tools-java/src/main/java/org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractor.java
  
  Index: JavaMojoDescriptorExtractor.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-plugin-tools/maven-plugin-tools-java/src/main/java/org/apache/maven/tools/plugin/extractor/java/JavaMojoDescriptorExtractor.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- JavaMojoDescriptorExtractor.java	10 Mar 2005 01:35:12 -0000	1.6
  +++ JavaMojoDescriptorExtractor.java	17 Mar 2005 02:48:40 -0000	1.7
  @@ -60,8 +60,6 @@
   
       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 @@
   
           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;
       }
   
  
  
  

Mime
View raw message