Many people incl. me do not like XML because of its verbosity. OTOH it is a great advantage to be able to see the same format and use the same set of tools on all possible Maven projects on the internet. Bringing too much choice would completely break this advantage. I'd be for pushing just a single alternative language and concentrate on supporting it comparably well as XML today.
I could live with any of the four formats, but if I had to choose, here is my personal order of prefs:
- JSON5 (relaxed JSON with comments; well known, enough libs; jackson can do that)
- Hocon (elegant, but not so popular and well supported throughout languages)
- YAML (hard to work with large docs), TOML (unknown in Java world)
Many people incl. me do not like XML because of its verbosity. OTOH it is a great advantage to be able to see the same format and use the same set of tools on all possible Maven projects on the internet. Bringing too much choice would completely break this advantage. I'd be for pushing just a single alternative language and concentrate on supporting it comparably well as XML today.
I could live with any of the four formats, but if I had to choose, here is my personal order of prefs: