Surefire argline property defined in pom.xml is automatically added to Run/Debug configurations

Answered

Java command line when Run/Debug configuration is launched, the Surefire argline defined in maven pom.xml are automatically appended. This causes issues when the properties need to be overridden by specifying a system property in the VM options of the Run/Debug configuration. Is there any way to turn off this behavior? Alternatively, the properties should be prepended to the VM options line so that the overrides take effect.

1

Please sign in to leave a comment.