001package 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 022import java.util.Map; 023 024import org.apache.maven.plugin.AbstractMojo; 025import org.apache.maven.plugin.MojoExecutionException; 026import org.apache.maven.plugin.MojoFailureException; 027import org.apache.maven.plugin.logging.Log; 028 029/** 030 * Dummy Mojo. 031 * 032 * @goal dummy 033 */ 034public class MojoStub 035 extends AbstractMojo 036{ 037 /** {@inheritDoc} */ 038 @Override 039 public Log getLog() 040 { 041 return super.getLog(); 042 } 043 044 /** {@inheritDoc} */ 045 @Override 046 public Map getPluginContext() 047 { 048 return super.getPluginContext(); 049 } 050 051 /** {@inheritDoc} */ 052 @Override 053 public void setLog( Log log ) 054 { 055 super.setLog( log ); 056 } 057 058 /** {@inheritDoc} */ 059 @Override 060 public void setPluginContext( Map pluginContext ) 061 { 062 super.setPluginContext( pluginContext ); 063 } 064 065 /** {@inheritDoc} */ 066 @Override 067 protected Object clone() 068 throws CloneNotSupportedException 069 { 070 return super.clone(); 071 } 072 073 /** {@inheritDoc} */ 074 @Override 075 public boolean equals( Object obj ) 076 { 077 return super.equals( obj ); 078 } 079 080 /** {@inheritDoc} */ 081 @Override 082 protected void finalize() 083 throws Throwable 084 { 085 super.finalize(); 086 } 087 088 /** {@inheritDoc} */ 089 @Override 090 public int hashCode() 091 { 092 return super.hashCode(); 093 } 094 095 /** {@inheritDoc} */ 096 @Override 097 public String toString() 098 { 099 return super.toString(); 100 } 101 102 /** {@inheritDoc} */ 103 @Override 104 public void execute() 105 throws MojoExecutionException, MojoFailureException 106 { 107 108 } 109}