-
-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-2018 Allow to set max age for metadata files in PRIORITIZE_UPSTREA…
…M_METADATA policy (#2018) * Add "no-refetch-timeout" for StoragePolicy.PRIORITIZE_UPSTREAM_METADATA This commit adds an option to define a timeout until no re-fetch of maven-metadata.xml is done. This gives the possibility to use the local copy until the defined period is over. Especially on connections with "huge" delays this setting improves build times and still has a deprecation mechanism for maven-metadata.xml content. The default value is 0 seconds (it fetches the file every time). * GH-2018 Small refactor --------- Co-authored-by: Martin Krüger <[email protected]> Co-authored-by: dzikoysk <[email protected]>
- Loading branch information
1 parent
e65eacd
commit e334afa
Showing
7 changed files
with
39 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters