diff --git a/src/main/java/org/apache/maven/reporting/MavenReport.java b/src/main/java/org/apache/maven/reporting/MavenReport.java index e1867fe..bdfce54 100644 --- a/src/main/java/org/apache/maven/reporting/MavenReport.java +++ b/src/main/java/org/apache/maven/reporting/MavenReport.java @@ -57,8 +57,18 @@ public interface MavenReport { * file will be written. The last component is the name of the file without any extension. The * actual output extension will by added by the sink implementation. * - * @return the relative path of this report + * @since 4.0.0 + * @return the relative output path of this report */ + default String getOutputPath() { + return getOutputName(); + } + + /** + * @deprecated Method name does not properly reflect its purpose. Use {@link #getOutputPath()} + * instead. + */ + @Deprecated String getOutputName(); /**