[ 
http://jira.codehaus.org/browse/MRM-1256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=211148#action_211148
 ] 

Brett Porter commented on MRM-1256:
-----------------------------------

the branch code is now merged in and might start making this easier, or at 
least give us a framework to add it into and we can adjust legacy code. Marc, 
have you made any progress?

> providing extension-points for deploy-events
> --------------------------------------------
>
>                 Key: MRM-1256
>                 URL: http://jira.codehaus.org/browse/MRM-1256
>             Project: Archiva
>          Issue Type: New Feature
>          Components: repository interface, WebDAV interface
>    Affects Versions: 1.2.2
>            Reporter: Marc Lustig
>            Priority: Critical
>             Fix For: 1.4
>
>
> Archiva provides extension-points named consumers that offer flexibility for 
> customizing the repo-scanning-process.
> Similarly, there is also a need to extend functionality for the 
> deploy-artifact events (release and snapshot) - both using webdav and web-UI.
> Specifically, we have the need to purge
> - all snapshots, when a release is deployed (the existing checkbox " Delete 
> Released Snapshots" doesn't operate reliable)
> - all previous snapshots of the same version (in case the client has not 
> configured the maven-deploy-plugin properly)
> I propose that a (Java) interface is provided that can be used to implement 
> the class that provides the functionality.
> This class could be specified in one of the (numerous) Archiva config-files.
> There could be a single interface that provides 2 methods 
> - onReleaseDeployment(ReleaseRuntime obj)
> - onSnapshotDeployment(SnapshotRuntime obj)
> The SomeRuntime class should provide methods to retrieve all kinds of 
> information concerning the artifact to be deployed, like
> - getGroupId
> - getArtifactId
> - getVersion
> - get RepoName
> ...
> as well as operation-methods like
> ReleaseRuntime .deleteSnapshots()
> SnapshotRuntime.deletePreviousSnapshots()

-- 
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