Add a test for Maven

Simple test: create a Maven project file and a hello-world Java file, then compile hello-world with Maven.

 I noticed that a lot of formulas I rely on don't have tests. I'm thinking about adding a bunch more tests (mongodb, openssl, nmap, etc). Is that useful for you guys?  I love that the Brew Test Bot runs them for every PR :smile: