Ignore Eclipse project too
And ignore the build output
Set Java version, otherwise maven fails completely
Different ways of testing exceptions