Hi all,
I would like to offer two aether features as an OSGi service.
- Getting the available versions of an OSGi service
I would like to use this in the feature:repo-add to offer completion for
well known feature files like:
feature:repo-add camel <tab>
This should show the available versions of the apache camel feature file.
- Resolving a whole list of artifacts by their mvn: url to speed up
downloads
Currently we resolve one artifact after the other when using pax url. So
for example if we install a feature we download one jar after the other.
I would like
to use the above service method to resolve the whole list of artifacts
for a feature so aether can download them in parallel. So we could call
this service before doing the
normal feature install.
The main question is where to locate such a service. As aether is not
yet available as an OSGi bundle we need to embed it. As pax url aether
already does this it could make sense to locate the service there.
Another argument to add the service to pax url aether is that we need to
share the maven config.
What do you think?
Christian
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
Talend Application Integration Division http://www.talend.com