You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by jv...@apache.org on 2004/05/26 17:32:24 UTC

cvs commit: maven-components/maven-plugin/src/main/java/org/apache/maven/plugin/generator Main.java

jvanzyl     2004/05/26 08:32:24

  Modified:    maven-plugin/src/main/java/org/apache/maven/plugin/generator
                        Main.java
  Log:
  o add a hook for the jelly harness generator so that the m2 core plugins can have jelly wrappers for m1.
  
  Revision  Changes    Path
  1.3       +7 -1      maven-components/maven-plugin/src/main/java/org/apache/maven/plugin/generator/Main.java
  
  Index: Main.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-plugin/src/main/java/org/apache/maven/plugin/generator/Main.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Main.java	20 May 2004 16:59:45 -0000	1.2
  +++ Main.java	26 May 2004 15:32:24 -0000	1.3
  @@ -1,5 +1,7 @@
   package org.apache.maven.plugin.generator;
   
  +import org.apache.maven.plugin.generator.jelly.JellyHarnessGenerator;
  +
   /**
    * @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
    * @version $Id$
  @@ -31,6 +33,10 @@
           else if ( mode.equals( "xdoc" ) )
           {
               generator = new PluginXdocGenerator();
  +        }
  +        else if ( mode.equals( "jelly" ) )
  +        {
  +            generator = new JellyHarnessGenerator();
           }
   
           generator.execute( sourceDirectory, outputDirectory );
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org