Type:
New Feature
Status:
Open
Priority:
Major
Resolution:
Unresolved
Affects Version/s:
None
Fix Version/s:
None
Component/s:
None
It should be possible to restrict the repositories specified in settings.xml to specific groupIds. Looking at https://maven.apache.org/ref/3.6.2/maven-settings/settings.html#class_repository , it seems this is currently not the case.
Background: We use Nexus to host our own artifacts. The settings.xml contains our Nexus repository with <updatePolicy>always</updatePolicy> because sometimes a project is built while a dependency is not yet in our Nexus repo – without updatePolicy, it would take 24 hours or manual deletion of metadata to make Maven re-check for the missing dependency.
Additionally, we use versions-maven-plugin:2.7:display-dependency-updates in our build process.
This results in lots of queries (more than 300 in a simple Dropwizard project) to our repo which will never succeed. If we could specify that our repo only supplies groupIds beginning with org.example, Maven could skip update checks for groupIds starting with com.fasterxml.jackson and so on, speeding up the build process.
No work has yet been logged on this issue.
{"report":{"fcp":1965.9000000059605,"ttfb":130,"pageVisibility":"visible","entityId":13256175,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":16,"apdex":0.5,"journeyId":"03e2c11f-f66e-4d89-aaf9-06a387055cac","navigationType":0,"readyForUser":2035.7999999821186,"redirectCount":0,"resourceLoadedEnd":795.0999999940395,"resourceLoadedStart":139.90000000596046,"resourceTiming":[{"duration":185,"initiatorType":"link","name":"https://issues-test.apache.org/jira/s/b62489a2eaac59d9b8a093c1a51d034f-CDN/xd97tr/820010/13pdxe5/49fa3aa3d35a2cc689cbf274e66cc41a/_/download/contextbatch/css/_super/batch.css","startTime":139.90000000596046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":139.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":324.90000000596046,"responseStart":0,"secureConnectionStart":0},{"duration":185.7000000178814,"initiatorType":"link","name":"https://issues-test.apache.org/jira/s/56490edcf9d54e35149505f78cca6a47-CDN/xd97tr/820010/13pdxe5/72cb823bcc50211a60c1ebe830467cae/_/download/contextbatch/css/jira.browse.project,jira.view.issue,project.issue.navigator,atl.general,atl.global,jira.global,jira.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&richediton=true&slack-enabled=true","startTime":140.19999998807907,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":140.19999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":325.90000000596046,"responseStart":0,"secureConnectionStart":0},{"duration":360.5,"initiatorType":"script","name":"https://issues-test.apache.org/jira/s/5263129088916436ab9aeb2417075b3f-CDN/xd97tr/820010/13pdxe5/49fa3aa3d35a2cc689cbf274e66cc41a/_/download/contextbatch/js/_super/batch.js?locale=en-UK","startTime":140.5,"connectEnd":355.69999998807907,"connectStart":330.09999999403954,"domainLookupEnd":330.09999999403954,"domainLookupStart":330.09999999403954,"fetchStart":140.5,"redirectEnd":0,"redirectStart":0,"requestStart":355.7999999821186,"responseEnd":501,"responseStart":382.09999999403954,"secureConnectionStart":342.59999999403954},{"duration":654.1999999880791,"initiatorType":"script","name":"https://issues-test.apache.org/jira/s/611c208bd094adb71a6f4f3e7f6fff3d-CDN/xd97tr/820010/13pdxe5/72cb823bcc50211a60c1ebe830467cae/_/download/contextbatch/js/jira.browse.project,jira.view.issue,project.issue.navigator,atl.general,atl.global,jira.global,jira.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en-UK&richediton=true&slack-enabled=true","startTime":140.90000000596046,"connectEnd":140.90000000596046,"connectStart":140.90000000596046,"domainLookupEnd":140.90000000596046,"domainLookupStart":140.90000000596046,"fetchStart":140.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":329.19999998807907,"responseEnd":795.0999999940395,"responseStart":352.59999999403954,"secureConnectionStart":140.90000000596046},{"duration":231.30000001192093,"initiatorType":"script","name":"https://issues-test.apache.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/xd97tr/820010/13pdxe5/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":141.19999998807907,"connectEnd":356.7999999821186,"connectStart":330.69999998807907,"domainLookupEnd":330.69999998807907,"domainLookupStart":330.69999998807907,"fetchStart":141.19999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":356.90000000596046,"responseEnd":372.5,"responseStart":371.69999998807907,"secureConnectionStart":343.2999999821186},{"duration":233.59999999403954,"initiatorType":"script","name":"https://issues-test.apache.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/xd97tr/820010/13pdxe5/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":141.40000000596046,"connectEnd":359.59999999403954,"connectStart":332.90000000596046,"domainLookupEnd":332.90000000596046,"domainLookupStart":332.90000000596046,"fetchStart":141.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":359.69999998807907,"responseEnd":375,"responseStart":374.5,"secureConnectionStart":345.69999998807907},{"duration":189.19999998807907,"initiatorType":"link","name":"https://issues-test.apache.org/jira/s/981f587853769311cda7c3b845131a06-CDN/xd97tr/820010/13pdxe5/cb5a5495a038c0744457f25821ba9ee8/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":142,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":142,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":331.19999998807907,"responseStart":0,"secureConnectionStart":0},{"duration":241.2999999821186,"initiatorType":"script","name":"https://issues-test.apache.org/jira/rest/api/1.0/shortcuts/820010/cbe16f38f7505e5e6265f404cabf9a39/shortcuts.js?context=issuenavigation&context=issueaction","startTime":142.40000000596046,"connectEnd":360.2999999821186,"connectStart":333.7999999821186,"domainLookupEnd":333.7999999821186,"domainLookupStart":333.7999999821186,"fetchStart":142.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":360.2999999821186,"responseEnd":383.69999998807907,"responseStart":377.09999999403954,"secureConnectionStart":346.40000000596046},{"duration":177,"initiatorType":"link","name":"https://issues-test.apache.org/jira/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/xd97tr/820010/13pdxe5/efa42a25652b26dfd802540c024826b3/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.css?jira.create.linked.issue=true&richediton=true","startTime":164.40000000596046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":164.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":341.40000000596046,"responseStart":0,"secureConnectionStart":0},{"duration":248.09999999403954,"initiatorType":"script","name":"https://issues-test.apache.org/jira/s/efa8931cd5ac13ed95c56ca8a1dc1967-CDN/xd97tr/820010/13pdxe5/efa42a25652b26dfd802540c024826b3/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.js?jira.create.linked.issue=true&locale=en-UK&richediton=true","startTime":164.59999999403954,"connectEnd":164.59999999403954,"connectStart":164.59999999403954,"domainLookupEnd":164.59999999403954,"domainLookupStart":164.59999999403954,"fetchStart":164.59999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":372.5,"responseEnd":412.69999998807907,"responseStart":397,"secureConnectionStart":164.59999999403954},{"duration":315.80000001192093,"initiatorType":"script","name":"https://issues-test.apache.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/xd97tr/820010/13pdxe5/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":176.59999999403954,"connectEnd":176.59999999403954,"connectStart":176.59999999403954,"domainLookupEnd":176.59999999403954,"domainLookupStart":176.59999999403954,"fetchStart":176.59999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":463.5,"responseEnd":492.40000000596046,"responseStart":484.2999999821186,"secureConnectionStart":176.59999999403954},{"duration":303,"initiatorType":"script","name":"https://issues-test.apache.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/xd97tr/820010/13pdxe5/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":191,"connectEnd":191,"connectStart":191,"domainLookupEnd":191,"domainLookupStart":191,"fetchStart":191,"redirectEnd":0,"redirectStart":0,"requestStart":466.2999999821186,"responseEnd":494,"responseStart":485.40000000596046,"secureConnectionStart":191},{"duration":181.90000000596046,"initiatorType":"xmlhttprequest","name":"https://issues-test.apache.org/jira/rest/webResources/1.0/resources","startTime":993.6999999880791,"connectEnd":993.6999999880791,"connectStart":993.6999999880791,"domainLookupEnd":993.6999999880791,"domainLookupStart":993.6999999880791,"fetchStart":993.6999999880791,"redirectEnd":0,"redirectStart":0,"requestStart":1147.199999988079,"responseEnd":1175.5999999940395,"responseStart":1165.9000000059605,"secureConnectionStart":993.6999999880791}],"fetchStart":0,"domainLookupStart":43,"domainLookupEnd":50,"connectStart":50,"connectEnd":99,"secureConnectionStart":78,"requestStart":99,"responseStart":130,"responseEnd":190,"domLoading":134,"domInteractive":2145,"domContentLoadedEventStart":2145,"domContentLoadedEventEnd":2207,"domComplete":2565,"loadEventStart":2565,"loadEventEnd":2568,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2128.5},{"name":"bigPipe.sidebar-id.end","time":2129.2999999821186},{"name":"bigPipe.activity-panel-pipe-id.start","time":2129.4000000059605},{"name":"bigPipe.activity-panel-pipe-id.end","time":2130},{"name":"activityTabFullyLoaded","time":2238.9000000059605}],"measures":[],"correlationId":"4a1909a88b5a02","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":77,"dbReadsTimeInMs":7,"dbConnsTimeInMs":13,"applicationHash":"ace47f9899e9ee25d7157d59aa17ab06aee30d3d","experiments":[]}}