Updated checkstyle and pom to prevent warnings for PMD