code: public List<String> invoke(File f, VirtualChannel channel) throws IOException, InterruptedException {
          MavenProject mavenProject = getMavenProject(f.getAbsolutePath());
          return mavenProject.getModel().getModules();
      }
docs: This is needed when running on slaves.