Customising build lifecycle
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.20.1</version>
<executions>
<execution>
<id>surefire-report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
<configuration>
<!-- Can place config here for goal, and make it local in scope for this phase -->
</configuration>
</execution>
</executions>
</plugin>Last updated