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.io.File; 023 import java.util.Locale; 024 import java.util.Map; 025 026 import org.apache.maven.doxia.siterenderer.Renderer; 027 import org.apache.maven.plugin.MojoExecutionException; 028 import org.apache.maven.plugin.logging.Log; 029 import org.apache.maven.project.MavenProject; 030 import org.apache.maven.reporting.AbstractMavenReport; 031 import org.apache.maven.reporting.MavenReportException; 032 import org.codehaus.doxia.sink.Sink; 033 034 /** 035 * Dummy report. 036 * 037 * @goal dummyReport 038 * @version $Id: MavenReportStub.java 638333 2008-03-18 11:39:14Z bentmann $ 039 */ 040 public class MavenReportStub 041 extends AbstractMavenReport 042 { 043 /** {@inheritDoc} */ 044 public boolean canGenerateReport() 045 { 046 return super.canGenerateReport(); 047 } 048 049 /** {@inheritDoc} */ 050 protected void closeReport() 051 { 052 super.closeReport(); 053 } 054 055 /** {@inheritDoc} */ 056 public void execute() 057 throws MojoExecutionException 058 { 059 super.execute(); 060 } 061 062 /** {@inheritDoc} */ 063 protected void executeReport( Locale locale ) 064 throws MavenReportException 065 { 066 067 } 068 069 /** {@inheritDoc} */ 070 public void generate( Sink sink, Locale locale ) 071 throws MavenReportException 072 { 073 super.generate( sink, locale ); 074 } 075 076 /** {@inheritDoc} */ 077 public String getCategoryName() 078 { 079 return super.getCategoryName(); 080 } 081 082 /** {@inheritDoc} */ 083 protected String getOutputDirectory() 084 { 085 return null; 086 } 087 088 /** {@inheritDoc} */ 089 protected MavenProject getProject() 090 { 091 return null; 092 } 093 094 /** {@inheritDoc} */ 095 public File getReportOutputDirectory() 096 { 097 return super.getReportOutputDirectory(); 098 } 099 100 /** {@inheritDoc} */ 101 public org.apache.maven.doxia.sink.Sink getSink() 102 { 103 return super.getSink(); 104 } 105 106 /** {@inheritDoc} */ 107 protected Renderer getSiteRenderer() 108 { 109 return null; 110 } 111 112 /** {@inheritDoc} */ 113 public boolean isExternalReport() 114 { 115 return super.isExternalReport(); 116 } 117 118 /** {@inheritDoc} */ 119 public void setReportOutputDirectory( File reportOutputDirectory ) 120 { 121 super.setReportOutputDirectory( reportOutputDirectory ); 122 } 123 124 /** {@inheritDoc} */ 125 public Log getLog() 126 { 127 return super.getLog(); 128 } 129 130 /** {@inheritDoc} */ 131 public Map getPluginContext() 132 { 133 return super.getPluginContext(); 134 } 135 136 /** {@inheritDoc} */ 137 public void setLog( Log log ) 138 { 139 super.setLog( log ); 140 } 141 142 /** {@inheritDoc} */ 143 public void setPluginContext( Map pluginContext ) 144 { 145 super.setPluginContext( pluginContext ); 146 } 147 148 /** {@inheritDoc} */ 149 public String getDescription( Locale locale ) 150 { 151 return null; 152 } 153 154 /** {@inheritDoc} */ 155 public String getName( Locale locale ) 156 { 157 return null; 158 } 159 160 /** {@inheritDoc} */ 161 public String getOutputName() 162 { 163 return null; 164 } 165 166 /** {@inheritDoc} */ 167 protected Object clone() 168 throws CloneNotSupportedException 169 { 170 return super.clone(); 171 } 172 173 /** {@inheritDoc} */ 174 public boolean equals( Object obj ) 175 { 176 return super.equals( obj ); 177 } 178 179 /** {@inheritDoc} */ 180 protected void finalize() 181 throws Throwable 182 { 183 super.finalize(); 184 } 185 186 /** {@inheritDoc} */ 187 public int hashCode() 188 { 189 return super.hashCode(); 190 } 191 192 /** {@inheritDoc} */ 193 public String toString() 194 { 195 return super.toString(); 196 } 197 }