001    package org.apache.maven.tools.plugin.util.stubs;
002    
003    /*
004     * Licensed to the Apache Software Foundation (ASF) under one
005     * or more contributor license agreements.  See the NOTICE file
006     * distributed with this work for additional information
007     * regarding copyright ownership.  The ASF licenses this file
008     * to you under the Apache License, Version 2.0 (the
009     * "License"); you may not use this file except in compliance
010     * with the License.  You may obtain a copy of the License at
011     *
012     *  http://www.apache.org/licenses/LICENSE-2.0
013     *
014     * Unless required by applicable law or agreed to in writing,
015     * software distributed under the License is distributed on an
016     * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
017     * KIND, either express or implied.  See the License for the
018     * specific language governing permissions and limitations
019     * under the License.
020     */
021    
022    import java.util.Map;
023    
024    import org.apache.maven.plugin.AbstractMojo;
025    import org.apache.maven.plugin.MojoExecutionException;
026    import org.apache.maven.plugin.MojoFailureException;
027    import org.apache.maven.plugin.logging.Log;
028    
029    /**
030     * Dummy Mojo.
031     *
032     * @goal dummy
033     * @version $Id: MojoStub.java 638333 2008-03-18 11:39:14Z bentmann $
034     */
035    public class MojoStub
036        extends AbstractMojo
037    {
038        /** {@inheritDoc} */
039        public Log getLog()
040        {
041            return super.getLog();
042        }
043    
044        /** {@inheritDoc} */
045        public Map getPluginContext()
046        {
047            return super.getPluginContext();
048        }
049    
050        /** {@inheritDoc} */
051        public void setLog( Log log )
052        {
053            super.setLog( log );
054        }
055    
056        /** {@inheritDoc} */
057        public void setPluginContext( Map pluginContext )
058        {
059            super.setPluginContext( pluginContext );
060        }
061    
062        /** {@inheritDoc} */
063        protected Object clone()
064            throws CloneNotSupportedException
065        {
066            return super.clone();
067        }
068    
069        /** {@inheritDoc} */
070        public boolean equals( Object obj )
071        {
072            return super.equals( obj );
073        }
074    
075        /** {@inheritDoc} */
076        protected void finalize()
077            throws Throwable
078        {
079            super.finalize();
080        }
081    
082        /** {@inheritDoc} */
083        public int hashCode()
084        {
085            return super.hashCode();
086        }
087    
088        /** {@inheritDoc} */
089        public String toString()
090        {
091            return super.toString();
092        }
093    
094        /** {@inheritDoc} */
095        public void execute()
096            throws MojoExecutionException, MojoFailureException
097        {
098    
099        }
100    }