View Javadoc

1   package org.apache.maven.tools.plugin.util.stubs;
2   
3   /*
4    * Licensed to the Apache Software Foundation (ASF) under one
5    * or more contributor license agreements.  See the NOTICE file
6    * distributed with this work for additional information
7    * regarding copyright ownership.  The ASF licenses this file
8    * to you under the Apache License, Version 2.0 (the
9    * "License"); you may not use this file except in compliance
10   * with the License.  You may obtain a copy of the License at
11   *
12   *  http://www.apache.org/licenses/LICENSE-2.0
13   *
14   * Unless required by applicable law or agreed to in writing,
15   * software distributed under the License is distributed on an
16   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17   * KIND, either express or implied.  See the License for the
18   * specific language governing permissions and limitations
19   * under the License.
20   */
21  
22  import java.util.Map;
23  
24  import org.apache.maven.plugin.AbstractMojo;
25  import org.apache.maven.plugin.MojoExecutionException;
26  import org.apache.maven.plugin.MojoFailureException;
27  import org.apache.maven.plugin.logging.Log;
28  
29  /**
30   * Dummy Mojo.
31   *
32   * @goal dummy
33   * @version $Id: MojoStub.java 638333 2008-03-18 11:39:14Z bentmann $
34   */
35  public class MojoStub
36      extends AbstractMojo
37  {
38      /** {@inheritDoc} */
39      public Log getLog()
40      {
41          return super.getLog();
42      }
43  
44      /** {@inheritDoc} */
45      public Map getPluginContext()
46      {
47          return super.getPluginContext();
48      }
49  
50      /** {@inheritDoc} */
51      public void setLog( Log log )
52      {
53          super.setLog( log );
54      }
55  
56      /** {@inheritDoc} */
57      public void setPluginContext( Map pluginContext )
58      {
59          super.setPluginContext( pluginContext );
60      }
61  
62      /** {@inheritDoc} */
63      protected Object clone()
64          throws CloneNotSupportedException
65      {
66          return super.clone();
67      }
68  
69      /** {@inheritDoc} */
70      public boolean equals( Object obj )
71      {
72          return super.equals( obj );
73      }
74  
75      /** {@inheritDoc} */
76      protected void finalize()
77          throws Throwable
78      {
79          super.finalize();
80      }
81  
82      /** {@inheritDoc} */
83      public int hashCode()
84      {
85          return super.hashCode();
86      }
87  
88      /** {@inheritDoc} */
89      public String toString()
90      {
91          return super.toString();
92      }
93  
94      /** {@inheritDoc} */
95      public void execute()
96          throws MojoExecutionException, MojoFailureException
97      {
98  
99      }
100 }