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