I have a big maven project that uses the pmd plugin for code quality checks.
since I started using the pmd plugin i get the following warning message:
It is way easier to configure it this way and not tie it to the site phase.
Then, it is as simple as mvn test.
org.apache.maven.plugins
maven-compiler-plugin
3.8.1
1.8
1.8
org.apache.maven.plugins
maven-surefire-plugin
${maven-surefire-plugin.version}
org.junit.platform
junit-platform-surefire-provider
1.2.0
org.junit.jupiter
junit-jupiter-engine
${junit.jupiter.version}
src/test/java
com.whatever.suite.*
${grid.hub}
false
org.apache.maven.plugins
maven-surefire-report-plugin
${maven-surefire-plugin.version}
target/surefire-reports
false
during-tests
test
report