Automate running a test from maven (as part of build process)

Please have a look at this:

Hope this helps.