}
configFile.getEnvironments().put(UUID.randomUUID().toString(), env);
}
configFile.getBuildServer().setEnvironments(
configFile.getEnvironments().keySet().toArray(new String[0]));
FileUtils.write(testYml, configFile.dumpYaml());
FileUtils.copyFile(new File(PlexusTestCase.getBasedir(),
"src/test/resources/smaller-maven-mojo-config.xml"), new File(
PlexusTestCase.getBasedir(), "target/smaller-maven-mojo-config-"
+ file + ".xml"));