maven-compiler-plugin may have been declared also, so it must be checked as well