Commit 85a31ed
The pluginmanager tests modify `~/.m2/settings.xml`. Previously when that file
exists it would be restored on test cleanup. However if that file did not exist
prior to the tests, the file with nonsense values generated during testing would
persist. This would cause subsequent issues when the pluginmanager or other
systems that respect those maven settings. This commit updates the test to
ensure the test file is deleted if it did not previously exist.
(cherry picked from commit f36ba65)
Co-authored-by: Cas Donoghue <[email protected]>
1 parent cd82f32 commit 85a31ed
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
34 | 38 | | |
35 | 39 | | |
36 | 40 | | |
| |||
0 commit comments