I suppose you want your tests to run not only in maven, but also in some other build system (e.g. Ant)?
If so, then I think you need good reports that will tell you how your tests went. If so, you can watch this project: http://reportng.uncommons.org/
ant classpath ref 'test-path', ( )... -
< testng classpathref= " " OutputDir = "${-results.dir}" haltonfailure = "" useDefaultListeners = "" = "org.uncommons.reportng.HTMLReporter, org.uncommons.reportng.JUnitXMLReporter" > < xmlfileset dir = ". " =" testng.xml "/ > < sysproperty key =" org.uncommons.reportng.title " value =" "/ > </TestNG>