Fixing the POM license header handling and gitignore