diff --git a/.drone.yml b/.drone.yml
index c867172..de66625 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -26,7 +26,10 @@ steps:
- name: dependency-check
image: maven:3-eclipse-temurin-21
commands:
- - mvn dependency-check:check --no-transfer-progress -B -V
+ - mvn dependency-check:check --no-transfer-progress -B -V -DnvdApiKey=$NVD_API_KEY
+ environment:
+ NVD_API_KEY:
+ from_secret: nvd_api_key
# run code analysis
- name: code-analysis
diff --git a/pom.xml b/pom.xml
index 86c0dfc..680f698 100644
--- a/pom.xml
+++ b/pom.xml
@@ -76,6 +76,7 @@
12.1.0
8
+ ${nvdApiKey}
html
json