Specify encoding and JDK version for Maven.
Ignore build output.
Ignore Eclipse generated files.