You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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. The repository will make use of Pax URL and Pax Runner scanners, somehow and be able to read "recipes" on the fly so a user could affect resolution process online. Still, a lot of thinking.
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: