title: How to config TestNG test-output folder to be inside Maven target folder?
body: <p>Folks!</p>
  
  <p>I'm new on TestNG, and I'm trying it with Maven (Surefire plugin) and Eclipse.</p>
  
  <p>When my tests are run by Maven its reports are put on target/surefire-reports as expected, but the same tests when run by Eclipse TestNG plugin I'd like them to be put inside a target subfolder also (and as so be cleaned by clean Maven goal and ignored by git, not saying about respecting Maven folder organization), but always go to the default ${basedir}/test-output.</p>
  
  <p>There is a way I can do it?  I'd prefer one that I do not need to manually config Eclipse settings (Couldn't TestNG in detect it's a Maven project and so change its output folder consistently?), but if there is no such way, anyone surely will help.</p>
  
  <p>TIA and regards,</p>
  
  <p>Heleno</p>