[ 
https://issues.apache.org/jira/browse/ARIES-283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12857256#action_12857256
 ] 

Guillaume Nodet commented on ARIES-283:
---------------------------------------

Also, finding a resource in the repository can be done the following way:

{code}
RepositoryAdmin admin = ...;
Resource[] resources = 
admin.discoverResources("(&(symbolicname=xxx)(version=yyy))");
{code}

But then, I think we should wrap the obr resource into a subsystem resource.  
We also need to grab the attributes and type from the original string, as the 
type represents not the type of the resource pointed to, but the type of the 
resource that will be installed, so any transformation would have to transform 
into the mentioned type, not from.


> 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

        

Reply via email to