View Javadoc

1   //
2   // Generated stub from file:/Volumes/Little-G/Development/Workspace/mojo/plugins/retrotranslator-maven-plugin/tmp/retrotranslator-maven-plugin/target/checkout/src/main/groovy/org/codehaus/mojo/retrotranslator/TranslateWarMojo.groovy
3   //
4   
5   package org.codehaus.mojo.retrotranslator;
6   
7   import java.lang.*;
8   import java.io.*;
9   import java.net.*;
10  import java.util.*;
11  import groovy.lang.*;
12  import groovy.util.*;
13  import net.sf.retrotranslator.transformer.Retrotranslator;
14  import org.apache.maven.archiver.MavenArchiveConfiguration;
15  import org.apache.maven.archiver.MavenArchiver;
16  import org.codehaus.plexus.archiver.war.WarArchiver;
17  import org.codehaus.plexus.util.DirectoryScanner;
18  import org.codehaus.plexus.util.FileUtils;
19  
20  /**
21   * Retrotranslates the classes in the war, as well as all jars in WEB-INF/lib.
22   * Creates a new war with the specified classifier with these retrotranslations.
23   *
24   * @goal translate-war
25   * @phase package
26   * @version $Id: TranslateWarMojo.groovy 6588 2008-03-28 12:22:57Z bentmann $
27   */
28  public class TranslateWarMojo
29      extends AttachingMojoSupport
30  {
31      /**
32       * A set of jar files to include in the translation. Note: any basedir will
33       * be ignored and reset to WEB-INF/lib
34       *
35       * @parameter
36       */
37      private DirectoryScanner jarfileset = null;
38      public DirectoryScanner getJarfileset() {
39          throw new InternalError("Stubbed method");
40      }
41      public void setJarfileset(DirectoryScanner value) {
42          throw new InternalError("Stubbed method");
43      }
44  
45      private File transformedWarDir = null;
46      public File getTransformedWarDir() {
47          throw new InternalError("Stubbed method");
48      }
49      public void setTransformedWarDir(File value) {
50          throw new InternalError("Stubbed method");
51      }
52  
53      /**
54       * @parameter expression="${component.org.codehaus.plexus.archiver.Archiver#war}"
55       * @required
56       * @readonly
57       */
58      private WarArchiver warArchiver = null;
59      public WarArchiver getWarArchiver() {
60          throw new InternalError("Stubbed method");
61      }
62      public void setWarArchiver(WarArchiver value) {
63          throw new InternalError("Stubbed method");
64      }
65  
66      public void execute() {
67          throw new InternalError("Stubbed method");
68      }
69  
70      protected void configureRetrotranslator(Retrotranslator trans) {
71          throw new InternalError("Stubbed method");
72      }
73  
74      public groovy.lang.MetaClass getMetaClass() {
75          throw new InternalError("Stubbed method");
76      }
77  
78      public void setMetaClass(groovy.lang.MetaClass metaClass) {
79          throw new InternalError("Stubbed method");
80      }
81  
82      public java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args) {
83          throw new InternalError("Stubbed method");
84      }
85  
86      public java.lang.Object getProperty(java.lang.String name) {
87          throw new InternalError("Stubbed method");
88      }
89  
90      public void setProperty(java.lang.String name, java.lang.Object value) {
91          throw new InternalError("Stubbed method");
92      }
93  }