commit | ac7c4f0ab2e4078c0ea7879e043963c0dd7105f0 | [log] [tgz] |
---|---|---|
author | Petar Tahchiev <paranoiabla@gmail.com> | Thu Jan 07 10:04:40 2016 +0200 |
committer | Petar Tahchiev <paranoiabla@gmail.com> | Sat Jan 09 12:48:03 2016 +0200 |
tree | 2e6cdffd80f2a7cff458afb3f1aabd516e0d0da6 | |
parent | dafa0d81cd0ec7cdee683b61623eaa444a9dad65 [diff] |
Allow execution of groovy script after archetype generation. Modify the FilesetArchetypeCreator to include a script with name META-INF/archetype-post-generate.groovy in the created archetype. Also execute this script in the DefaultFilesetArchetypeGenerator after the archetype has been created. This will allow defining of some post-generate logic (delete a file, rename a folder, etc.) after archetype generation. Close https://issues.apache.org/jira/browse/ARCHETYPE-494