Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabling Failsafe doesn't appear to be necessary #62

Open
jeff303 opened this issue May 20, 2019 · 1 comment
Open

Disabling Failsafe doesn't appear to be necessary #62

jeff303 opened this issue May 20, 2019 · 1 comment

Comments

@jeff303
Copy link

jeff303 commented May 20, 2019

The documentation indicates that the Failsafe plugin should be disabled, by doing the following:

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.7</version>
        <configuration>
          <skipTests>true</skipTests>
        </configuration>
      </plugin>

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?

@cheeseng
Copy link
Contributor

cheeseng commented Jul 3, 2022

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants