GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||
GeezerVison is showing github.com — Remove unnecessary repository preparation in metadata resolution for prefixes by slawekjaranowski · Pull Request #1830 · apache/maven-resolver Conversation
Member
Repository should be already configured, it is too late to change configuration. The same configuration should be used for standard operation and resolving metadata. Example: plugins can provide unconfigured repo, Following this checklist to help us incorporate your
If your pull request is about ~20 lines of code you don't need to sign an To make clear that you license your contribution under
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions…prefixes Repository should be already configured, it is too late to change configuration. The same configuration should be used for standard operation and resolving metadata. Example: plugins can provide unconfigured repo, when we have configuration for mirror in settings - mirror will be used only for metadata.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
|
Why we need to reconfigure repo ... it should be already done |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
In fact, see whole Resolver API: all methods references this method above. This is resolver expectation. IF user has set up mirror, it has to be obeyed, I cannot today, but pls ping me on Slack tomorrow to discuss this. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
I know that When repo is correctly created with |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
That is clearly a bug then. In 90% of cases, when plugin operates on received repositories, Maven already primed them. But, if plugin creates new Moreover, the method |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I agree that it is a bug in plugin .... but I think that next reconfiguration is not required when use such repo for standard resolving we use it as is |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
So if:
we also should not call |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Right, is correct. I use "normalized" bare reposes only as keys.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.