This sets the -DskipTests parameter, which makes the plugin skip running its tests. I'm not entirely clear why this is required. I have tested without doing this and noticed no problems (although I also have no Java tests in this module, so the Failsafe plugin simply runs nothing).
Can anyone share more detail as to why this step is required?
@jeff303 Actually I just tried it and it seems to be working also, @bvenners can you recall what's the reason behind the recommendation to disable surefire?
The documentation indicates that the Failsafe plugin should be disabled, by doing the following:
This sets the
-DskipTests
parameter, which makes the plugin skip running its tests. I'm not entirely clear why this is required. I have tested without doing this and noticed no problems (although I also have no Java tests in this module, so the Failsafe plugin simply runs nothing).Can anyone share more detail as to why this step is required?