olamy commented on issue #3249:
URL: 
https://github.com/apache/maven-surefire/issues/3249#issuecomment-3866498790

   There are some ways to already do it with the current plugin without any 
code modification.
   
   Have a look at this SurefireMojo parameter
   ```
       <statelessTestsetReporter 
implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5Xml30StatelessReporter">
         <disable>false</disable>
         <usePhrasedFileName>false</usePhrasedFileName>
         <usePhrasedTestSuiteClassName>true</usePhrasedTestSuiteClassName>
         <usePhrasedTestCaseClassName>true</usePhrasedTestCaseClassName>
         <usePhrasedTestCaseMethodName>true</usePhrasedTestCaseMethodName>
       </statelessTestsetReporter>
   ```
   
   `implementation` attribute can contain your own implementation (must added 
as a dependency of the plugin declaration though).
   If you want to provide a PR for this, due to heavy usage of surefire xml 
reports file in the community, those new fields should be be disabled per 
default.
   I hope this xml fragment above gave you an idea about how to do it ;) 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to