-
Notifications
You must be signed in to change notification settings - Fork 218
Allow override surefire plugin group #711
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
Conversation
Signed-off-by: tison <[email protected]>
| <redirectTestOutputToFile>true</redirectTestOutputToFile> | ||
| <reportsDirectory>${project.build.directory}/test-output/${maven.build.timestamp}</reportsDirectory> | ||
| <excludedGroups>${testng.generate-java-files},${testng.check-cpp-files},${testng.check-go-files}, | ||
| ${testng.check-cpp-historical-files}</excludedGroups> <!-- do not indent --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had set this up so that an ordinary "mvn test" would not generate the java files and run the tests against the other languages. These are run with specific profiles.
Now that we are adding more languages into the mix, I am not clear on what you have in mind.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #711 (comment).
This config would be still applied, but from the /pluginManagement/plugins/plugin section that can be override.
This PR is a no change for developer who only runs mvn test.
leerho
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a couple of questions that need clarification.
leerho
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some questions that need clarification.
Previously, the exclude all groups config is defined in
/plugins/pluginand thus it overrides any other configs defined in the/pluginManagementsection.