Skip to content

Commit

Permalink
[MSHARED-1024] Replace deprecated code
Browse files Browse the repository at this point in the history
* Stop using the deprecated Codehaus Doxia Sink, use Maven Doxia Sink since the
  Codehaus one extends from Maven code should continue to work.
* Don't use expressions, use XML constructs

This closes #2
  • Loading branch information
michael-o committed Jan 25, 2022
1 parent c45966d commit 35fc61e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* method dropped. But that would have rendered all reporting mojo's uncompilable and binary incompatible.
*
* @author <a href="mailto:kenney@apache.org">Kenney Westerhof</a>
* @see MavenReport#generate(org.codehaus.doxia.sink.Sink, Locale)
* @see MavenReport#generate(Sink, Locale)
* @since 3.0 (copied in maven-site-plugin 2.0-beta-6)
*/
public interface MavenMultiPageReport
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/apache/maven/reporting/MavenReport.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
* under the License.
*/

import org.codehaus.doxia.sink.Sink;

import java.io.File;
import java.util.Locale;

import org.apache.maven.doxia.sink.Sink;

/**
* The basis for a Maven report.
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/default-report.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ under the License.

<project name="${project.name}">
<body>
${reports}
<menu ref="reports"/>
</body>
</project>

0 comments on commit 35fc61e

Please sign in to comment.