Repository navigation
Commit cbf6e16
authored
fix(build): declare the extensions.xml namespace so Renovate tracks Nisse (#174)
Renovate parses `.mvn/extensions.xml` by default, but its maven manager rejects
the file outright unless the root element carries a recognised EXTENSIONS
namespace -- parseExtensions() returns null when `attr.xmlns` is not one of
EXTENSIONS/1.0.0, 1.1.0 or 1.2.0, and the file is then skipped with no warning.
Ours declared no xmlns at all, so Nisse would have sat at 0.9.5 indefinitely
while every other dependency in the repo kept moving. Silent, and exactly the
kind of rot the pin was supposed to avoid.
Verified that Maven still resolves the version with the namespace present:
tagging 9.9.9 and running `mvn help:evaluate -Dexpression=project.version`
prints 9.9.9, unchanged.
Signed-off-by: Jimisola Laursen <jimisola@jimisola.com>1 parent 7ac4783 commit cbf6e16
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
3 | 8 | | |
4 | 9 | | |
5 | 10 | | |
| |||
0 commit comments