Skip to content

Commit

Permalink
Merge pull request #376 from seanly/master
Browse files Browse the repository at this point in the history
ignore bomGenerator.generate() call
  • Loading branch information
hboutemy committed Jul 31, 2023
2 parents 7d2ac0f + 7e8e898 commit 47742b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/cyclonedx/maven/BaseCycloneDxMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ private void saveBom(Bom bom) throws ParserConfigurationException, IOException,
MojoExecutionException {
if ("all".equalsIgnoreCase(outputFormat) || "xml".equalsIgnoreCase(outputFormat)) {
final BomXmlGenerator bomGenerator = BomGeneratorFactory.createXml(schemaVersion(), bom);
bomGenerator.generate();
//bomGenerator.generate();

final String bomString = bomGenerator.toXmlString();
saveBomToFile(bomString, "xml", new XmlParser());
Expand Down

0 comments on commit 47742b1

Please sign in to comment.