I'm familiar with that plugin, but what I'm asking is completely different. I want to create an archetype, and when I create a new project based on that archetype, the archetype should invoke an external script.

So the archetype would create the basic directory structure and files, and when it's all done, a Perl script is executed to do some more work...



Jamie Whitehouse wrote:
You may want to look at the exec-maven-plugin which can execute programs
outside of Maven:
http://mojo.codehaus.org/exec-maven-plugin/
-----Original Message-----
From: Gajo Csaba [mailto:csaba.g...@cosylab.com] Sent: Monday, November 09, 2009 5:13 AM
To: Maven Users List
Subject: Maven Archetype: run script after creation

Hello,

I would like to create an archetype with a default directory structure. After the directories are created, I'd like the archetype to execute a
Perl script. How can I do this?

Thanks, Csaba




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


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



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to