Skip to content

Commit

Permalink
Deprecate #getOutputName() in favor of #getOutputPath()
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-o committed Nov 4, 2023
1 parent 8dd491a commit d034eb6
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/main/java/org/apache/maven/reporting/MavenReport.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();

/**
Expand Down

0 comments on commit d034eb6

Please sign in to comment.