The flatten-maven-plugin looks interesting. We used it in https://github.com/hibernate/hibernate-search/pull/3588 and it effectively removes any references to BOMs/POMs from the flattened POM. Maybe we could apply it to all public POMs? It would remove the need to publish:
- The root POM (maybe?)
- The public parent POM
- The build BOM
WDYT Marko Bekhta? |