.gitignore on repository root

Apply to all Java projects