Modify maven pom file to avoid exception when maven make