fix build warnings related to POM file