Where's the local cache for the maven plugin?

20 views
Skip to first unread message

steffen....@1und1.de

unread,
Feb 5, 2016, 9:03:48 AM2/5/16
to Dependency Check
Hi everyone!

When using the maven plugin you can update the local cache only when using the update-only goal.

Where will the local cache be stored? Can I have a per-machine cache that would be used by all the projects on that machine?

Cheers
  Steffen

Jeremy Long

unread,
Feb 6, 2016, 7:26:47 AM2/6/16
to steffen....@1und1.de, Dependency Check
For the maven plugin (and gradle) by default the cache is located in the M2 repository:

%USERPROFILE%\.m2\repository\org\owasp\dependency-check-data

All builds done on that machine will use the same cache. There are mechanisms in place to limit how often the cache is updated (currently it is checked once every four hours - if you run scans more often they won't attempt to update).

--jeremy

--
You received this message because you are subscribed to the Google Groups "Dependency Check" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dependency-che...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages