Add bom-test mojo to generate poms for BOM testing
Clean up codes