-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New url handler: symbol [PAXURL-53] #90
Comments
Toni Menzel commented or maybe the name "symbol" is better: kind of like that. |
Toni Menzel commented well, and the service in question could be look like that: |
Alin Dreghiciu commented I was thinking about the same but in conjunction with a plugable/configurable repository, where repository can resolve an artifact based on a string key and eventual version. |
@tonit @adreghiciu how time flies... Do you remember this one after 14 years? :) |
Toni Menzel created PAXURL-53
This came just out of some observation: sometimes, you require an artifact that is pretty much denoted by an identifier only. But there are many (environment dependent) ways to get this artifact.
Example:
referal:org.foo.bar
where the url hander just picks up org.foo.bar and passes it forward to another, environment specific "resolver". This resolver for example could pick up this artifact from a local folder with substituting the following conversion:
org.foo.bar --> file:bundles/org.foo.bar.jar
Another resolver could translate it to an ordinary mvn protocol:
org.foo.bar --> mvn:group/org.foo.bar/1.0 where group and version here comes from the configuration of the resolver.
Most important thing i wanted to make here:
the user of the refereal can just predict a "symbolic" name, and does not have to know about anyhting more.
If you want, this would be an " enduser programmable" url handler.
Any questions ?
Votes: 0, Watches: 0
The text was updated successfully, but these errors were encountered: