roboconf / roboconf-platform

The core modules and the platform
Apache License 2.0
35 stars 11 forks source link

'docker.additional.deploy' should support Maven URL #694

Closed cdeneux closed 8 years ago

cdeneux commented 8 years ago

In the context of target Docker, docker.additional.deploy is used to add extensions to the Roboconf agent. When developing such extension with maven, it is not really simple to use a standard URL (http or file) because it must be completely changed when the extension is released.

It will be easier to use a Maven URL (mvn:org.ow2.petals/petals-roboconf-plugin/1.0.1-SNAPSHOT), for which only the version part is to be changed.

vincent-zurczak commented 8 years ago

We should inject Karaf's MavenResolver service. In fact, this service seems to be injected by PAX-URL, but configured by Karaf (to be verified).

We should then be able to retrieve Maven artifacts.