Skip to content

Commit

Permalink
Merge branch 'master' of github.com:AppThreat/cdxgen
Browse files Browse the repository at this point in the history
  • Loading branch information
Prabhu Subramanian committed Nov 3, 2020
2 parents ff7ade5 + 52223a2 commit 0ba12f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -387,12 +387,12 @@ const createJavaBom = async (
const f = pomFiles[i];
const basePath = pathLib.dirname(f);
console.log(
"Executing 'mvn org.cyclonedx:cyclonedx-maven-plugin:2.1.0:makeAggregateBom' in",
"Executing 'mvn dependency:get -DrepoUrl=https://jitpack.io -Dartifact=com.github.everit-org.json-schema:org.everit.json.schema:1.12.1 org.cyclonedx:cyclonedx-maven-plugin:2.1.0:makeAggregateBom' in",
basePath
);
result = spawnSync(
MVN_CMD,
["org.cyclonedx:cyclonedx-maven-plugin:2.1.0:makeAggregateBom"],
["dependency:get", "-DrepoUrl=https://jitpack.io", "-Dartifact=com.github.everit-org.json-schema:org.everit.json.schema:1.12.1", "org.cyclonedx:cyclonedx-maven-plugin:2.1.0:makeAggregateBom"],
{ cwd: basePath, encoding: "utf-8" }
);
if (result.status == 1 || result.error) {
Expand Down

0 comments on commit 0ba12f6

Please sign in to comment.