Issues with pom while extract classes