chore(dep): NVD API key 환경변수 연동 profile 추가
NVD_API_KEY 환경변수 존재 시 nvd-api-key 프로파일 활성화, dependency-check에 키 전달 → rate limit 완화 (5 → 50 req/30s). 환경변수 없으면 프로파일 비활성 — 기존 동작 유지.
This commit is contained in:
parent
fa9a888c5b
commit
8a3eea54ce
19
pom.xml
19
pom.xml
|
|
@ -294,6 +294,25 @@
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>nvd-api-key</id>
|
||||||
|
<activation>
|
||||||
|
<property>
|
||||||
|
<name>env.NVD_API_KEY</name>
|
||||||
|
</property>
|
||||||
|
</activation>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.owasp</groupId>
|
||||||
|
<artifactId>dependency-check-maven</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<nvdApiKey>${env.NVD_API_KEY}</nvdApiKey>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue