
buildContext.refresh(outFile);
log.info("Generated " + outFile + " containing " + count + " Camel " + (count > 1 ? "dataformats: " : "dataformat: ") + names);</BUG>
if (projectHelper != null) {
<BUG>List<String> includes = new ArrayList<String>();
includes.add("**/dataformat.properties");
projectHelper.addResource(project, dataFormatOutDir.getPath(), includes, new ArrayList<String>());</BUG>
projectHelper.attachArtifact(project, "properties", "camelDataFormat", outFile);
}
} catch (IOException e) {

if (project.getDescription() != null) {
properties.put("projectDescription", project.getDescription());
}
camelMetaDir.mkdirs();
File outFile = new File(camelMetaDir, "dataformat.properties");
try {
try(OutputStream os = buildContext.newFileOutputStream(outFile)) {
properties.store(os, "Generated by camel-package-maven-plugin");
}
log.info("Generated " + outFile + " containing " + count + " Camel " + (count > 1 ? "dataformats: " : "dataformat: ") + names);
if (projectHelper != null) {
projectHelper.attachArtifact(project, "properties", "camelDataFormat", outFile);
}
} catch (IOException e) {
