Skip to content

Commit

Permalink
fix: use fake nvd data feed for IT (#6113)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylong authored Nov 22, 2023
1 parent 0b86bca commit 8706c3e
Show file tree
Hide file tree
Showing 21 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion maven/src/it/1512-transitive-test/invoker.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
# Copyright (c) 2014 Jeremy Long. All Rights Reserved.
#

invoker.goals = -DnvdApiKey=${NVD_API_KEY} --no-transfer-progress --batch-mode -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:check -Dformat=XML -Dcve.startyear=2018
invoker.goals = -DnvdApiKey=${NVD_API_KEY} -DnvdDatafeedUrl=https://jeremylong.github.io/DependencyCheck/hb_nvd/ --no-transfer-progress --batch-mode -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:check -Dformat=XML -Dcve.startyear=2018
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
# Copyright (c) 2014 Jeremy Long. All Rights Reserved.
#

invoker.goals.1 = install -DnvdApiKey=${NVD_API_KEY} --no-transfer-progress --batch-mode -Dcve.startyear=2018 -Danalyzer.ossindex.enabled=false -f old/pom.xml
invoker.goals.2 = verify -DnvdApiKey=${NVD_API_KEY} --no-transfer-progress --batch-mode -Dcve.startyear=2018 -Danalyzer.ossindex.enabled=false -f new/pom.xml
invoker.goals.1 = install -DnvdApiKey=${NVD_API_KEY} -DnvdDatafeedUrl=https://jeremylong.github.io/DependencyCheck/hb_nvd/ --no-transfer-progress --batch-mode -Dcve.startyear=2018 -Danalyzer.ossindex.enabled=false -f old/pom.xml
invoker.goals.2 = verify -DnvdApiKey=${NVD_API_KEY} -DnvdDatafeedUrl=https://jeremylong.github.io/DependencyCheck/hb_nvd/ --no-transfer-progress --batch-mode -Dcve.startyear=2018 -Danalyzer.ossindex.enabled=false -f new/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
# Copyright (c) 2014 Jeremy Long. All Rights Reserved.
#

invoker.goals = -DnvdApiKey=${NVD_API_KEY} --no-transfer-progress --batch-mode -Dcve.startyear=2018 -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:check -Dformat=XML -DskipDependencyManagement=false
invoker.goals = -DnvdApiKey=${NVD_API_KEY} -DnvdDatafeedUrl=https://jeremylong.github.io/DependencyCheck/hb_nvd/ --no-transfer-progress --batch-mode -Dcve.startyear=2018 -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:check -Dformat=XML -DskipDependencyManagement=false
2 changes: 1 addition & 1 deletion maven/src/it/1677-dependency-management/invoker.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
# Copyright (c) 2014 Jeremy Long. All Rights Reserved.
#

invoker.goals = -DnvdApiKey=${NVD_API_KEY} --no-transfer-progress --batch-mode -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:check -Dformat=XML -DskipDependencyManagement=false -Dcve.startyear=2018
invoker.goals = -DnvdApiKey=${NVD_API_KEY} -DnvdDatafeedUrl=https://jeremylong.github.io/DependencyCheck/hb_nvd/ --no-transfer-progress --batch-mode -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:check -Dformat=XML -DskipDependencyManagement=false -Dcve.startyear=2018
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
# Copyright (c) 2014 Jeremy Long. All Rights Reserved.
#

invoker.goals = -DnvdApiKey=${NVD_API_KEY} verify --no-transfer-progress --batch-mode -Dcve.startyear=2018 -Danalyzer.ossindex.enabled=false -X
invoker.goals = -DnvdApiKey=${NVD_API_KEY} -DnvdDatafeedUrl=https://jeremylong.github.io/DependencyCheck/hb_nvd/ verify --no-transfer-progress --batch-mode -Dcve.startyear=2018 -Danalyzer.ossindex.enabled=false -X
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
# Copyright (c) 2014 Jeremy Long. All Rights Reserved.
#

invoker.goals = -DnvdApiKey=${NVD_API_KEY} --no-transfer-progress --batch-mode -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:aggregate -Dformat=JSON -Dcve.startyear=2018
invoker.goals = -DnvdApiKey=${NVD_API_KEY} -DnvdDatafeedUrl=https://jeremylong.github.io/DependencyCheck/hb_nvd/ --no-transfer-progress --batch-mode -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:aggregate -Dformat=JSON -Dcve.startyear=2018
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
# Copyright (c) 2014 Jeremy Long. All Rights Reserved.
#

invoker.goals = -DnvdApiKey=${NVD_API_KEY} --no-transfer-progress --batch-mode -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:check -Dformat=XML -Dcve.startyear=2018
invoker.goals = -DnvdApiKey=${NVD_API_KEY} -DnvdDatafeedUrl=https://jeremylong.github.io/DependencyCheck/hb_nvd/ --no-transfer-progress --batch-mode -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:check -Dformat=XML -Dcve.startyear=2018
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
#

# NOTE needs a -U as maven invoker builds otherwise cannot resolve RELEASE/SNAPSHOT meta-versions
invoker.goals = -DnvdApiKey=${NVD_API_KEY} -U --no-transfer-progress --batch-mode -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:aggregate -Dformat=XML -Dcve.startyear=2018
invoker.goals = -DnvdApiKey=${NVD_API_KEY} -DnvdDatafeedUrl=https://jeremylong.github.io/DependencyCheck/hb_nvd/ -U --no-transfer-progress --batch-mode -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:aggregate -Dformat=XML -Dcve.startyear=2018
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
# Copyright (c) 2014 Jeremy Long. All Rights Reserved.
#

invoker.goals = -DnvdApiKey=${NVD_API_KEY} --no-transfer-progress --batch-mode -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:aggregate -Dformat=XML -Dcve.startyear=2018
invoker.goals = -DnvdApiKey=${NVD_API_KEY} -DnvdDatafeedUrl=https://jeremylong.github.io/DependencyCheck/hb_nvd/ --no-transfer-progress --batch-mode -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:aggregate -Dformat=XML -Dcve.startyear=2018
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
# Copyright (c) 2014 Jeremy Long. All Rights Reserved.
#

invoker.goals = -DnvdApiKey=${NVD_API_KEY} --no-transfer-progress --batch-mode -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:aggregate -Dformat=XML -Dcve.startyear=2018
invoker.goals = -DnvdApiKey=${NVD_API_KEY} -DnvdDatafeedUrl=https://jeremylong.github.io/DependencyCheck/hb_nvd/ --no-transfer-progress --batch-mode -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:aggregate -Dformat=XML -Dcve.startyear=2018
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
# Copyright (c) 2023 Hans Aikema. All Rights Reserved.
#
# Note: the first goals needs the -U in order to properly resolve the RELEASE / LATEST meta-versions
invoker.goals.1 = install -DnvdApiKey=${NVD_API_KEY} --no-transfer-progress --batch-mode -f dep/pom.xml -U
invoker.goals.2 = verify -DnvdApiKey=${NVD_API_KEY} --no-transfer-progress --batch-mode -Dcve.startyear=2018 -Danalyzer.ossindex.enabled=false -f main/pom.xml
invoker.goals.1 = install -DnvdApiKey=${NVD_API_KEY} -DnvdDatafeedUrl=https://jeremylong.github.io/DependencyCheck/hb_nvd/ --no-transfer-progress --batch-mode -f dep/pom.xml -U
invoker.goals.2 = verify -DnvdApiKey=${NVD_API_KEY} -DnvdDatafeedUrl=https://jeremylong.github.io/DependencyCheck/hb_nvd/ --no-transfer-progress --batch-mode -Dcve.startyear=2018 -Danalyzer.ossindex.enabled=false -f main/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
# Copyright (c) 2014 Jeremy Long. All Rights Reserved.
#

invoker.goals = -DnvdApiKey=${NVD_API_KEY} install --no-transfer-progress --batch-mode -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:check -Dcve.startyear=2018
invoker.goals = -DnvdApiKey=${NVD_API_KEY} -DnvdDatafeedUrl=https://jeremylong.github.io/DependencyCheck/hb_nvd/ install --no-transfer-progress --batch-mode -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:check -Dcve.startyear=2018
2 changes: 1 addition & 1 deletion maven/src/it/618-aggregator-update-only/invoker.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
# Copyright (c) 2014 Jeremy Long. All Rights Reserved.
#

invoker.goals = -DnvdApiKey=${NVD_API_KEY} --no-transfer-progress --batch-mode -Danalyzer.central.enabled=false -Danalyzer.ossindex.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:update-only -Dcve.startyear=2018
invoker.goals = -DnvdApiKey=${NVD_API_KEY} -DnvdDatafeedUrl=https://jeremylong.github.io/DependencyCheck/hb_nvd/ --no-transfer-progress --batch-mode -Danalyzer.central.enabled=false -Danalyzer.ossindex.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:update-only -Dcve.startyear=2018
2 changes: 1 addition & 1 deletion maven/src/it/629-jackson-dataformat/invoker.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
# Copyright (c) 2014 Jeremy Long. All Rights Reserved.
#

invoker.goals = -DnvdApiKey=${NVD_API_KEY} --no-transfer-progress --batch-mode -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:check -Dformat=XML -Dcve.startyear=2018
invoker.goals = -DnvdApiKey=${NVD_API_KEY} -DnvdDatafeedUrl=https://jeremylong.github.io/DependencyCheck/hb_nvd/ --no-transfer-progress --batch-mode -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:check -Dformat=XML -Dcve.startyear=2018
2 changes: 1 addition & 1 deletion maven/src/it/690-threadsafety/invoker.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
# Copyright (c) 2014 Jeremy Long. All Rights Reserved.
#

invoker.goals = -DnvdApiKey=${NVD_API_KEY} --no-transfer-progress --batch-mode -Dcve.startyear=2018 -Dformat=JSON -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:check -T 8 -X
invoker.goals = -DnvdApiKey=${NVD_API_KEY} -DnvdDatafeedUrl=https://jeremylong.github.io/DependencyCheck/hb_nvd/ --no-transfer-progress --batch-mode -Dcve.startyear=2018 -Dformat=JSON -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:check -T 8 -X
2 changes: 1 addition & 1 deletion maven/src/it/710-pom-parse-error/invoker.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
# Copyright (c) 2014 Jeremy Long. All Rights Reserved.
#

invoker.goals = -DnvdApiKey=${NVD_API_KEY} --no-transfer-progress --batch-mode -Dcve.startyear=2018 -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:check -Dformat=JSON
invoker.goals = -DnvdApiKey=${NVD_API_KEY} -DnvdDatafeedUrl=https://jeremylong.github.io/DependencyCheck/hb_nvd/ --no-transfer-progress --batch-mode -Dcve.startyear=2018 -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:check -Dformat=JSON
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
#
# Copyright (c) 2017 The OWASP Foundation. All Rights Reserved.
#
invoker.goals = -DnvdApiKey=${NVD_API_KEY} --no-transfer-progress --batch-mode -Dformat=JSON -Dcve.startyear=2018 -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:check
invoker.goals = -DnvdApiKey=${NVD_API_KEY} -DnvdDatafeedUrl=https://jeremylong.github.io/DependencyCheck/hb_nvd/ --no-transfer-progress --batch-mode -Dformat=JSON -Dcve.startyear=2018 -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:check
2 changes: 1 addition & 1 deletion maven/src/it/740-aggregate/invoker.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
# Copyright (c) 2014 Jeremy Long. All Rights Reserved.
#

invoker.goals = verify -DnvdApiKey=${NVD_API_KEY} --no-transfer-progress --batch-mode -Dcve.startyear=2018 -Danalyzer.ossindex.enabled=false -X -T 1C
invoker.goals = verify -DnvdApiKey=${NVD_API_KEY} -DnvdDatafeedUrl=https://jeremylong.github.io/DependencyCheck/hb_nvd/ --no-transfer-progress --batch-mode -Dcve.startyear=2018 -Danalyzer.ossindex.enabled=false -X -T 1C
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
# Copyright (c) 2017 The OWASP Foundation. All Rights Reserved.
#
invoker.buildResult = failure
invoker.goals = -DnvdApiKey=${NVD_API_KEY} --no-transfer-progress --batch-mode -Dformat=JSON -Dcve.startyear=2018 -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:aggregate
invoker.goals = -DnvdApiKey=${NVD_API_KEY} -DnvdDatafeedUrl=https://jeremylong.github.io/DependencyCheck/hb_nvd/ --no-transfer-progress --batch-mode -Dformat=JSON -Dcve.startyear=2018 -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:aggregate
2 changes: 1 addition & 1 deletion maven/src/it/846-site-plugin/invoker.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
#
# Copyright (c) 2017 The OWASP Foundation. All Rights Reserved.
#
invoker.goals = -DnvdApiKey=${NVD_API_KEY} site --no-transfer-progress --batch-mode -Dcve.startyear=2018 -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false -Dodcversion=${project.version}
invoker.goals = -DnvdApiKey=${NVD_API_KEY} -DnvdDatafeedUrl=https://jeremylong.github.io/DependencyCheck/hb_nvd/ site --no-transfer-progress --batch-mode -Dcve.startyear=2018 -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false -Dodcversion=${project.version}
2 changes: 1 addition & 1 deletion maven/src/it/artifactory-analyzer/invoker.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
#
# Copyright (c) 2017 The OWASP Foundation. All Rights Reserved.
#
invoker.goals = -DnvdApiKey=${NVD_API_KEY} --no-transfer-progress --batch-mode -Dformat=XML -Dcve.startyear=2018 -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false -Danalyzer.artifactory.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:check
invoker.goals = -DnvdApiKey=${NVD_API_KEY} -DnvdDatafeedUrl=https://jeremylong.github.io/DependencyCheck/hb_nvd/ --no-transfer-progress --batch-mode -Dformat=XML -Dcve.startyear=2018 -Danalyzer.ossindex.enabled=false -Danalyzer.central.enabled=false -Danalyzer.artifactory.enabled=false ${project.groupId}:${project.artifactId}:${project.version}:check

0 comments on commit 8706c3e

Please sign in to comment.