[ 
https://issues.apache.org/jira/browse/KARAF-6780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré updated KARAF-6780:
----------------------------------------
    Fix Version/s: cave-4.2.2

> cave:repository-artifact-promote - Move an artifact from one repository to 
> another in the same instance of Cave
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-6780
>                 URL: https://issues.apache.org/jira/browse/KARAF-6780
>             Project: Karaf
>          Issue Type: New Feature
>          Components: cave
>         Environment: karaf 4.2.9
>            Reporter: Paul Spencer
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: cave-4.2.2
>
>
> My instance of Cave is hosting a "Quality" and a "Production" repository.  I 
> would like to move an artifact from the "Quality" repository to the 
> "Production" repository once quality testing is complete.
> Jean-Baptiste Onofre mention a command like 
> "cave:repository-artifact-promote" to promote an artifact from one repository 
> to another would be a nice enhancement, thus this request.
> Until the enhancement is implemented, I am using the following workaround:
>  * Add the "Quality" repository as a maven repository to the Karaf instance 
> using the following command (Note: the command needs to be executed once per 
> Karaf instance):
>      maven:repository-add -id quality 
> [http://localhost:8181/cave/repository/quality/]  
>  * Use the command "cave:repository-artifact-add production ..." to add 
> artifacts to the "Production" repository
>  * Use the command "cave:repository-artifact-delete quality ..." to remove 
> artifacts to the "Quality" repository
> See KARAF-6778 related to .md5 and .sha1 related files when deleting 
> artifacts 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to