Alex Borchers wrote:
You can do something like this to deregister some reports after xdoc has done its default set of registrations.Hi Eric,
In trying to implement your suggestion, from <reports> in project.xml
I've eliminated all but maven-junit-report-plugin and created a new goal
in maven.xml. I've searched the archives but have been figure out the
syntax to manually register reports with the xdoc plug-in via its
registerReports tag. Here is the relevant section from the maven.xml
(in this case register the checkstyle report if OS is Linux):
<goal name="regReports">
<j:when test="${systemScope['os.name'].startsWith('Linux')}">
[register checkstyle report here....]
</j:when>
</goal>
Thanks so much,
Alex
<postGoal name="xdoc:register-reports">
<j:when test="${systemScope['os.name'].startsWith('Linux')}">
<attainGoal name="maven-checkstyle-plugin:deregister"/>
<attainGoal name="maven-linkcheck-plugin:deregister"/>
</j:when>
</postGoal>--
Erik Husby
Senior Software Engineer
Broad Institute of MIT and Harvard Rm. 2192 320 Charles St, Cambridge, MA 02141-2023
mobile: 781.354.6669, office: 617.258.9227, email: [EMAIL PROTECTED] AIM: ErikAtBroad
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
