Skip to content

Commit

Permalink
Improve
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-o committed Nov 16, 2023
1 parent c28e900 commit 2d57b7a
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
import org.apache.maven.project.MavenProject;

/**
* Creates an html-based, cross referenced version of Java source code
* for a project's test sources.
* Creates an html-based, cross referenced version of Java test source code
* for a project.
*
* @author <a href="mailto:bellingard.NO-SPAM@gmail.com">Fabrice Bellingard</a>
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
Expand All @@ -52,6 +52,11 @@ public class JxrTestReport extends AbstractJxrReport {
@Parameter(defaultValue = "${project.reporting.outputDirectory}/testapidocs")
private File testJavadocDir;

@Override
protected String getPluginReportOutputDirectory() {
return getReportOutputDirectory().getAbsolutePath() + "/xref-test";
}

@Override
protected List<String> getSourceRoots() {
List<String> l = new ArrayList<>();
Expand Down Expand Up @@ -82,11 +87,6 @@ protected List<String> getSourceRoots(MavenProject project) {
return l;
}

@Override
protected String getPluginReportOutputDirectory() {
return getReportOutputDirectory().getAbsolutePath() + "/xref-test";
}

@Override
public String getDescription(Locale locale) {
return getBundle(locale).getString("report.xref.test.description");
Expand Down

0 comments on commit 2d57b7a

Please sign in to comment.