protected void writeProfileRequirements(ProjectRequirements requirements, File profileBuildDir) throws IOException {
ObjectMapper mapper = DtoHelper.getMapper();
String name = DtoHelper.getRequirementsConfigFileName(requirements);
File outFile = new File(profileBuildDir, name);
outFile.getParentFile().mkdirs();
mapper.writeValue(outFile, requirements);
getLog().info("Writing " + outFile);
}
protected void generateFabricAgentProperties(ProjectRequirements requirements, File file) throws MojoExecutionException, IOException {
file.getParentFile().mkdirs();