You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is the stacktrace without pitest-junit5, would be great if we can remove this dependency:
[ERROR] Failed to execute goal org.pitest:pitest-maven:1.17.4:mutationCoverage (default-cli) on project abc: Execution default-cli of goal org.pitest:pitest-maven:1.17.4:mutationCoverage failed: Please check you have correctly installed the pitest plugin for your project's test library (JUnit 5, TestNG, JUnit 4 etc).
[ERROR]
[ERROR] Please copy and paste the information and the complete stacktrace below when reporting an issue
[ERROR] VM : OpenJDK 64-Bit Server VM
[ERROR] Vendor : SAP SE
[ERROR] Version : 23+37
[ERROR] Uptime : 143191
[ERROR] Input ->
[ERROR] 1 : -Dclassworlds.conf=/usr/share/maven/bin/m2.conf
[ERROR] 2 : -Dmaven.home=/usr/share/maven
[ERROR] 3 : -Dlibrary.jansi.path=/usr/share/maven/lib/jansi-native
[ERROR] 4 : -Dmaven.multiModuleProjectDirectory=/builds/project/abc
[ERROR] BootClassPathSupported : false
[ERROR]
[ERROR]
[ERROR] Please copy and paste the information and the complete stacktrace below when reporting an issue
[ERROR] VM : OpenJDK 64-Bit Server VM
[ERROR] Vendor : SAP SE
[ERROR] Version : 23+37
[ERROR] Uptime : 143192
[ERROR] Input ->
[ERROR] 1 : -Dclassworlds.conf=/usr/share/maven/bin/m2.conf
[ERROR] 2 : -Dmaven.home=/usr/share/maven
[ERROR] 3 : -Dlibrary.jansi.path=/usr/share/maven/lib/jansi-native
[ERROR] 4 : -Dmaven.multiModuleProjectDirectory=/builds/project/abc
[ERROR] BootClassPathSupported : false
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
Although the junit5 plugin has been stable recently, introducing a hard dependency on it would mean pitest would be forced to tie itself to a particular version of junit if any backwards incompatible changes were made to the api in the future.
Hello team,
Just wanted to reach out with a small enhancement request.
Our project uses a fairly new stack, JDK 23, maven 3.9+ and JUNIT5.
We rely on pitest for many mutation analyses, which is a great tool by the way.
However, in our pom, we are obliged to be dependent on the org.pitest pitest-junit5-plugin.
It seems this plugin has not been updated for more than a year now.
Instead of asking clients to pull in this dependency just for compatibility with JUNIT5, can we break the dependency?
For instance, can we make some code changes on org.pitest pitest-maven directly to support junit5?
Thank you for your help.
The text was updated successfully, but these errors were encountered: