lhotari commented on PR #4406:
URL: https://github.com/apache/bookkeeper/pull/4406#issuecomment-2142312484

   I noticed this in the referenced issue:
   > Furthermore, after adding the following pom.xml configuration, I noticed 
that the OWASP Dependency Check Plugin is downloading NVD (National 
Vulnerability Database) information for each module during the build process, 
which significantly slows it down.
   
   In Apache Pulsar, this downloading problem is resolved by caching the NVD 
information. Here's the solution in Pulsar to restore and update the cache: 
https://github.com/apache/pulsar/blob/c39f9f82b425c66c899f818583714c9c98d3e213/.github/workflows/ci-owasp-dependency-check.yaml#L61-L113
 . Restoring the cache: 
https://github.com/apache/pulsar/blob/c39f9f82b425c66c899f818583714c9c98d3e213/.github/workflows/pulsar-ci.yaml#L1462-L1477
 . Please notice that the dir is excluded from maven caching: 
https://github.com/apache/pulsar/blob/c39f9f82b425c66c899f818583714c9c98d3e213/.github/workflows/pulsar-ci.yaml#L1439
 .


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to