It's possible to just use the http: url for your artifact directly in the osgi:install and osgi:update commands:
osgi:install -s http://artifactory.server/path/to/artifact.jar
However, in the long run, it's better to configure the mvn: URL handler to access your internal Artifactory server. In order to do that, you have to add the http: url for your Artifactory server to org.ops4j.pax.url.mvn.repositories property in the etc/org.ops4j.pax.url.mvn.cfg configuration file.
After that, you can install your bundle by using the mvn: url and the underlying handler will go and download it from your Artifactory server:
osgi:install -s mvn:<group id>:<artifact id>:<version>
Hi Thank you so much for the reply. The last part you mentioned is what I needed.
I would also like to see some examples in action. Thanks