[JIRA] (JPAR-193) Reduce public Maven repository lookups
Tom Zeller (Jira)
jira at shibboleth.atlassian.net
Thu Oct 14 22:05:03 UTC 2021
Tom Zeller ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A0fa99aa9-d698-454c-a274-7a41bee6cef5 ) *commented* on JPAR-193 ( https://shibboleth.atlassian.net/browse/JPAR-193?atlOrigin=eyJpIjoiMjk1ZmNlZDJjZGQwNDM2NmJjMjc5N2EwZTYzYzgzZGIiLCJwIjoiaiJ9 )
Re: Reduce public Maven repository lookups ( https://shibboleth.atlassian.net/browse/JPAR-193?atlOrigin=eyJpIjoiMjk1ZmNlZDJjZGQwNDM2NmJjMjc5N2EwZTYzYzgzZGIiLCJwIjoiaiJ9 )
Actually, no, looks like it is not possible to reduce repository lookups.
Each <repository> (under <repositories> in the POM) are tried in order.
Looks like there is no way to map artifacts (either by artifactId or groupId) to a repo.
I guess if I had a Maven wish-to-come-true, it would be something like this :
<repository>
<id>...
<url>...
<group> org.example </group>
<key> key-to-validate-artifact-signatures </key>
<repository>
to map artifacts to a repo and key.
So it’s either all or nothing.
We could make the 3rd Party Nexus repo private instead of public, but either Nexus or Apache would still need to return 404s for artifacts besides ours, so that does not reduce lookups.
Kinda have to deploy to Maven Central unless we want to “pay” for the network traffic.
( https://shibboleth.atlassian.net/browse/JPAR-193#add-comment?atlOrigin=eyJpIjoiMjk1ZmNlZDJjZGQwNDM2NmJjMjc5N2EwZTYzYzgzZGIiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/JPAR-193#add-comment?atlOrigin=eyJpIjoiMjk1ZmNlZDJjZGQwNDM2NmJjMjc5N2EwZTYzYzgzZGIiLCJwIjoiaiJ9 )
Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100183- sha1:445115c )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20211014/898b25e7/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-d3fc0b08-b185-4498-ad67-e3af6ff26661
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211014/898b25e7/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-0581467b-8fa0-4bf1-9566-58f94dd60ebb
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211014/898b25e7/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-65991e35-6286-4248-b199-626c23e7c3ce
Type: image/png
Size: 468 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211014/898b25e7/attachment-0005.png>
More information about the commits
mailing list