title: In Maven, how to copy all the files in the target/surefire-reports directories to a single directory
body: <p>I have a largish Maven multiproject build.  I'm scanning the codebase with SonarQube (5.6.5).  For background, I successfully integrated the various JaCoCo exec files into SonarQube by using the "jacoco:merge" goal, to produce a single exec file.  The SonarQube property that alleges to allow specifying a list of JaCoCo exec files doesn't work in our version of SonarQube, but specifying a single one does work.</p>
  
  <p>I'm now trying to integrate the numerous "TEST-*" files in "target/surefire-reports" in each of the subprojects.  The "sonar.junit.reportsPath" property expects a single directory, so I can't specify a list of them.</p>
  
  <p>That means I'm going to have to do something as part of the build to merge the entire contents of all of the "target/surefire-reports" directories into a single directory, so I can specify that directory.</p>
  
  <p>I already have a pom that does nothing but merge JaCoCo data.  This seems like a logical place to store the surefire reports.</p>
  
  <p>How can I do this sort of thing with Maven?  Would this be an application of the "maven-resources-plugin", or something else?</p>