You could use the maven-exec or maven-antrun plugins and bind those to the phase that you need. See http://maven.apache.org/guides/introduction/introduction-to-the-lifecycl e.html#Lifecycle_Reference .
If you really need it to run after Maven has installed the artifacts into the local repo I think you may be out of luck. There is no 'post-install' phase that you could use, although I suspect that binding to install will be good enough. -----Original Message----- From: eyal edri [mailto:eyal.e...@gmail.com] Sent: Wednesday, November 18, 2009 6:20 AM To: Maven Users List Subject: maven post install plugin? Is there a maven plugin/configuration that enables you to run post install actions? in rpm.spec file you can specify %post actions such as "mkdir -p /var/spool/app/logs" or running bash scripts. is there an equivalent plugin in maven? or one has to write a new plugin in order to accomplish this ? thanks! -- Eyal Edri ------------------------------------------------------------------------------------------------------------------- CONFIDENTIALITY NOTICE: This e-mail and any files attached may contain confidential and proprietary information of Alcatel-Lucent and/or its affiliated entities. Access by the intended recipient only is authorized. Any liability arising from any party acting, or refraining from acting, on any information contained in this e-mail is hereby excluded. If you are not the intended recipient, please notify the sender immediately, destroy the original transmission and its attachments and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Copyright in this e-mail and any attachments belongs to Alcatel-Lucent and/or its affiliated entities. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org