set linkXRef to false when generating html test report
@@ -581,6 +581,12 @@ public class DevMojo extends StartDebugMojoSupport {
reportDirectories.addChild(reportsDirectoryElement);
config.addChild(reportDirectories);
}
+ Xpp3Dom linkXRef = failsafeConfig.getChild("linkXRef");
+ if (linkXRef == null) {
+ linkXRef = new Xpp3Dom("linkXRef");
+ }
+ linkXRef.setValue("false");
+ config.addChild(linkXRef);
}
} else if (phase.equals("report-only")) {
Plugin surefirePlugin = getPlugin("org.apache.maven.plugins", "maven-surefire-plugin");
@@ -592,6 +598,12 @@ public class DevMojo extends StartDebugMojoSupport {
reportDirectories.addChild(reportsDirectoryElement);
config.addChild(reportDirectories);
}
+ Xpp3Dom linkXRef = surefireConfig.getChild("linkXRef");
+ if (linkXRef == null) {
+ linkXRef = new Xpp3Dom("linkXRef");
+ }
+ linkXRef.setValue("false");
+ config.addChild(linkXRef);
}
}
log.debug(artifactId + " configuration for " + phase + " phase: " + config);
