Commit c639500
committed
Fix removing dependencyManagement from POMs
There was always a dependencyManagement section due to the previous setup where dependencies.gradle applied dependency management to each project. Now that that is gone, some projects do not have a dependencyManagement section when the POMs are processed. The logic before only checked for null but the object was an empty collection in the case the dependencyManagement node wasn't found. This change correctly checks the dependencyManagement node(s) object is not null and not empty.
See gh-1819
See gh-60801 parent b05ab35 commit c639500
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
| 254 | + | |
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| |||
0 commit comments