Skip to content

Conversation

@tisonkun
Copy link
Member

@tisonkun tisonkun commented Jan 7, 2026

Previously, the exclude all groups config is defined in /plugins/plugin and thus it overrides any other configs defined in the /pluginManagement section.

@tisonkun tisonkun changed the title Allow group override Allow override surefire plugin group Jan 7, 2026
@tisonkun tisonkun requested a review from leerho January 7, 2026 10:01
<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 -->
Copy link
Member

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.

Copy link
Member Author

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.

Copy link
Member

@leerho leerho left a 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.

Copy link
Member

@leerho leerho left a 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.

@tisonkun tisonkun requested a review from leerho January 8, 2026 00:22
@leerho leerho merged commit f1ac363 into apache:main Jan 8, 2026
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

Successfully merging this pull request may close these issues.

2 participants