Added forbidden API checks, and fix maven warning about parent.relativePath