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   */
34  public class MojoStub
35      extends AbstractMojo
36  {
37      /** {@inheritDoc} */
38      public Log getLog()
39      {
40          return super.getLog();
41      }
42  
43      /** {@inheritDoc} */
44      public Map getPluginContext()
45      {
46          return super.getPluginContext();
47      }
48  
49      /** {@inheritDoc} */
50      public void setLog( Log log )
51      {
52          super.setLog( log );
53      }
54  
55      /** {@inheritDoc} */
56      public void setPluginContext( Map pluginContext )
57      {
58          super.setPluginContext( pluginContext );
59      }
60  
61      /** {@inheritDoc} */
62      protected Object clone()
63          throws CloneNotSupportedException
64      {
65          return super.clone();
66      }
67  
68      /** {@inheritDoc} */
69      public boolean equals( Object obj )
70      {
71          return super.equals( obj );
72      }
73  
74      /** {@inheritDoc} */
75      protected void finalize()
76          throws Throwable
77      {
78          super.finalize();
79      }
80  
81      /** {@inheritDoc} */
82      public int hashCode()
83      {
84          return super.hashCode();
85      }
86  
87      /** {@inheritDoc} */
88      public String toString()
89      {
90          return super.toString();
91      }
92  
93      /** {@inheritDoc} */
94      public void execute()
95          throws MojoExecutionException, MojoFailureException
96      {
97  
98      }
99  }