Pomchecker checks that POM files comply with the minimum rules required for publication to Maven Central. It can also check whether a POM is a valid BOM file.
sdk install pomchecker