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 (mongodb, openssl, redis, md5sha1sum, lynx, nmap, etc). Would it be useful if I added tests for them?  I love that the Brew Test Bot runs them for every PR :smile: