[
https://issues.apache.org/jira/browse/IVY-650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Trump updated IVY-650:
----------------------------
Attachment: ivy-650.patch
patch against trunk (as of today, 30/11/07, 17:15 UTC) that adds
pre-publish-artifact and post-publish-artifact events to the system.
documentation and test cases included.
the patch adds src/java/org/apache/ivy/core/event/publish directory and puts
new files in test/java/org/apache/ivy/core/publish.
> add publish triggers to event system
> ------------------------------------
>
> Key: IVY-650
> URL: https://issues.apache.org/jira/browse/IVY-650
> Project: Ivy
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.0
> Reporter: Jason Trump
> Priority: Minor
> Fix For: unspecified
>
> Attachments: ivy-650.patch
>
>
> currently only download and resolve events are supported for triggers.
> publish events would facilitate customized updates to artifacts (manifest
> files, jar signing, watermarking, etc), as well as custom notification and
> logging.
> for consistency with the existing events, the new events should probably be:
> pre-publish-artifact
> post-publish-artifact
> with the following common attributes:
> organisation
> module
> revision
> artifact
> type
> ext
> resolver: the name of the target resolver
> file: the absolute path of the data file for the artifact
> overwrite: whether the publication will overwrite existing resources
> post-publish-artifact will have an additional attribute:
> status: 'successful' or 'failed'
> indicating success or failure.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.