View Javadoc

1   //
2   // Generated stub from file:/Users/sam/src/atlassian/maven-plugins/jarjar/trunk.release/target/checkout/src/main/groovy/com/atlassian/maven/plugins/jarjar/JarJarMojo.groovy
3   //
4   
5   package com.atlassian.maven.plugins.jarjar;
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 com.tonicsystems.jarjar.JarJarTask;
14  import org.apache.maven.project.MavenProject;
15  import org.codehaus.groovy.maven.mojo.GroovyMojo;
16  
17  /**
18   * <p>Calls the <code>jarjar</code> utility on the packaged maven artifact.</p>
19   * <p>The artifact is repackaged <em>in-place</em></p>
20   *
21   * @goal jarjar
22   * @phase package
23   */
24  public class JarJarMojo
25      extends GroovyMojo
26  {
27      /**
28       * The current Maven Project
29       *
30       * @parameter expression="${project}"
31       * @required
32       * @readonly
33       */
34      private MavenProject project = null;
35      public MavenProject getProject() {
36          throw new InternalError("Stubbed method");
37      }
38      public void setProject(MavenProject value) {
39          throw new InternalError("Stubbed method");
40      }
41  
42      /**
43       * <p>This is the package in which the source code of the current project resides.</p>
44       * <p>This is used to set the <code>keep<code> rule, as described in the
45       * <a href="http://code.google.com/p/jarjar/wiki/CommandLineDocs">documentation</a>.</p>
46       * <p>It defaults to the project group ID.</p>
47       *
48       * @parameter default-value="${project.groupId}"
49       */
50      private java.lang.String projectPackage = null;
51      public java.lang.String getProjectPackage() {
52          throw new InternalError("Stubbed method");
53      }
54      public void setProjectPackage(java.lang.String value) {
55          throw new InternalError("Stubbed method");
56      }
57  
58      /**
59       * <p>This is a list of patterns. Packages and classes matched by those patterns will be re-packaged into the
60       * {@link #projectPackage project package}.</p>
61       * <p>i.e. it generate rules such as:
62       * <code>&lt;rule pattern="{@link #rules}.get(i)" result="{@link #projectPackage}/@0" /&gt;</code>.
63       * See the <a href="http://code.google.com/p/jarjar/wiki/CommandLineDocs">documentation</a> for more details on
64       * those rules.</p>
65       *
66       * @parameter
67       */
68      private List rules = null;
69      public List getRules() {
70          throw new InternalError("Stubbed method");
71      }
72      public void setRules(List value) {
73          throw new InternalError("Stubbed method");
74      }
75  
76      /**
77       * <p>This is a list of patterns. Packages and classes matched by those patterns will be removed from the
78       * artifact.</p>
79       * See the <a href="http://code.google.com/p/jarjar/wiki/CommandLineDocs">documentation</a> for more details on
80       * those rules.</p>
81       *
82       * @parameter
83       */
84      private List zaps = null;
85      public List getZaps() {
86          throw new InternalError("Stubbed method");
87      }
88      public void setZaps(List value) {
89          throw new InternalError("Stubbed method");
90      }
91  
92      /**
93       * <p>A list of artifacts to <em>include</em> in the re-packaged jar.</p>
94       * <p>Dependencies are declared according to the following pattern: <code>groupId:artifactId</code></p>
95       * <p>No includes means that by default everything is included</p>
96       *
97       * @parameter
98       * @see Zip
99       */
100     private List zips = null;
101     public List getZips() {
102         throw new InternalError("Stubbed method");
103     }
104     public void setZips(List value) {
105         throw new InternalError("Stubbed method");
106     }
107 
108     private java.lang.Object filter = null;
109 
110     public void execute() {
111         throw new InternalError("Stubbed method");
112     }
113 
114     public groovy.lang.MetaClass getMetaClass() {
115         throw new InternalError("Stubbed method");
116     }
117 
118     public void setMetaClass(groovy.lang.MetaClass metaClass) {
119         throw new InternalError("Stubbed method");
120     }
121 
122     public java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args) {
123         throw new InternalError("Stubbed method");
124     }
125 
126     public java.lang.Object getProperty(java.lang.String name) {
127         throw new InternalError("Stubbed method");
128     }
129 
130     public void setProperty(java.lang.String name, java.lang.Object value) {
131         throw new InternalError("Stubbed method");
132     }
133 }