allow plugins to handle deletion of artifacts through repository purge
----------------------------------------------------------------------

                 Key: MRM-948
                 URL: http://jira.codehaus.org/browse/MRM-948
             Project: Archiva
          Issue Type: Improvement
          Components: design
    Affects Versions: 1.1.2
            Reporter: Brett Porter


currently the repository purge directly calls the database and then the index 
to cleanup after purging artifacts. This couples the core consumers to those 
modules, and also prevents any plugins that wish to store artifact metadata 
from doing the same.

Note there are also some issues: the cleanup released snapshots doesn't cleanup 
after itself.

These can both be fixed by moving the deletion logic to the respective modules 
and using an event from the purge to trigger their call

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to