[
https://issues.apache.org/jira/browse/ARIES-283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12857254#action_12857254
]
Guillaume Nodet commented on ARIES-283:
---------------------------------------
And last, but not least, the new obr api expose a service named DataModelHelper
which should be used to create the obr Resource based on a given bundle file.
{code}
Resource DataModelHelper#createResource(URL)
Resource DataModelHelper#createResource(Attributes)
{code}
This will make sure the resources are generated in the same way the bundle
plugin do.
Also, once the resources are created, we can use:
{code}
Repository DataModelHelper#repository(Resource[] resources);
{code}
to create a Repository which can be used for resolution in:
{code}
Resolver RepositoryAdmin#resolver(Repository[] repositories);
{code}
> Provide an implementation of ResourceResolver that can find/resolve resources
> in local .m2 repo or any other specified repo
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: ARIES-283
> URL: https://issues.apache.org/jira/browse/ARIES-283
> Project: Aries
> Issue Type: Improvement
> Components: Subsystem
> Affects Versions: Incubation
> Reporter: Lin Sun
> Assignee: Lin Sun
> Fix For: Incubation
>
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira