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

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

1/  Someone has to add repositories, you're right, but this would be the 
deployer maybe through a UI or shell console.  So you're right that it won't 
find anything if not configured.  So in your tests, just get the 
RepositoryAdmin and add the file:homedir/.m2/repository/repository.xml and then 
it should work.   But again, I would not think the subsystem implementation is 
in control of the repositories directly.

2/ Yeah, it has been written for this exact purpose :-)

3/ Well, this has not been defined very well so far.   My idea was the 
following:  Subsystem-Content contains a list of resources that will be 
installed *inside* the subsystem.   Any transitive dependencies not listed here 
would be added *outside* the subsystem.  Subsystem-Resource is a list of 
Resource (bundles or anything else) that would usually come from the subsystem 
archive.  The main reason to list those resources is that they may need to be 
transformed, so we need to know what they are and what they will be transformed 
into.  Anyway, I think the SPI needs to be refined a lot more before trying to 
have a usable implementation.  Those are the exact questions we need to discuss 
on the mailing list.

4/ Good question, i think it would make sense.  This would need to change the 
Resource version from a Version to a String to be able to capture the range.  

> 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