Skip to content

Commit 27fd940

Browse files
committed
Implement getOutputPath() in the site IT plugin
Maven Reporting API 4.0.0 deprecated getOutputName(); it stays as a delegate because the interface still declares it abstract.
1 parent 349395c commit 27fd940

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

  • its/core-it-support/core-it-plugins/maven-it-plugin-site/src/main/java/org/apache/maven/plugin/coreit

its/core-it-support/core-it-plugins/maven-it-plugin-site/src/main/java/org/apache/maven/plugin/coreit/InfoReport.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,15 @@ public void generate(Sink sink, Locale locale) throws MavenReportException {
130130
}
131131
}
132132

133+
/**
134+
* @deprecated use {@link #getOutputPath()} instead
135+
*/
136+
@Deprecated
133137
public String getOutputName() {
138+
return getOutputPath();
139+
}
140+
141+
public String getOutputPath() {
134142
return "info";
135143
}
136144

0 commit comments

Comments
 (0)