Question

I'm using Spock to test a Java application. I would like to generate test reports, in html, using damage-control

What maven goal shoud be executed to generate the reports?

Was it helpful?

Solution

It generated the reports running:

    mvn com.github.damage-control.report:damage-control-maven-plugin:report

OTHER TIPS

You should use goal provided by plugin.
Maven provides only phase's, not goals
So you should use phase test and goal report.

  <execution>
    <phase>test</phase>
    <goals>
      <goal>report</goal>
    </goals>
  </execution>  

report goal is declared in this file DamageControlMojo.

/**
 * @goal report
 */
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top