diff --git a/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/AbstractSurefireReportMojo.java b/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/AbstractSurefireReportMojo.java index c4234e4a73..ad0b22dea9 100644 --- a/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/AbstractSurefireReportMojo.java +++ b/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/AbstractSurefireReportMojo.java @@ -83,12 +83,6 @@ public abstract class AbstractSurefireReportMojo extends AbstractMavenReport { @Parameter(defaultValue = "${reactorProjects}", readonly = true) private List reactorProjects; - /** - * Location of the Xrefs to link. - */ - @Parameter(defaultValue = "${project.reporting.outputDirectory}/xref-test") - private File xrefLocation; - /** * Link the failed tests line numbers to the source xref. Will link * automatically if Maven JXR plugin is being used. @@ -96,6 +90,12 @@ public abstract class AbstractSurefireReportMojo extends AbstractMavenReport { @Parameter(defaultValue = "true", property = "linkXRef") private boolean linkXRef; + /** + * Location of the Xrefs to link. + */ + @Parameter(defaultValue = "${project.reporting.outputDirectory}/xref-test") + private File xrefLocation; + /** * Whether to build an aggregated report at the root, or build individual reports. */