Re: Surefire and System properties: Maven properties now passed through?

2023-07-27 Thread Laird Nelson
On Thu, Jul 27, 2023 at 3:33 PM Laird Nelson wrote: > Now I'm running Surefire 3.1.2 and noting that this all no longer seems > necessary: running mvn test -Dx=y without any special XML to "turn it into" > a System property works fine (my test can assert > System.getProperty("x").equals("y")). >

Surefire and System properties: Maven properties now passed through?

2023-07-27 Thread Laird Nelson
I dimly remember that once upon a time many years ago you had to explicitly specify the system properties to be made available to your JUnit tests running under Surefire: y (The documentation for this element reads in total: "List of System properties to pass to a provider.") That is, with