private static void doSetFolders(State newState, MavenBuild build) {
    doSetFolders(newState, build.getSources(), build.getTestSources(), build.getResources(), build.getTestResources());
  }
private static void doSetFolders(State newState, MavenBuild build)