You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Martin Höller (JIRA)" <ji...@apache.org> on 2017/02/14 08:02:41 UTC

[jira] [Commented] (ARCHETYPE-494) Provide a way to change the generated project after archetype:generate execution

    [ https://issues.apache.org/jira/browse/ARCHETYPE-494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15865319#comment-15865319 ] 

Martin Höller commented on ARCHETYPE-494:
-----------------------------------------

Could you please also add some documentation how to use the new feature? From the commit I found out the name of the script is "META-INF/archetype-post-generate.groovy". But from the current documentation at https://maven.apache.org/archetype/maven-archetype-plugin/ a new user wouldn't even have a clue that such a feature exists.

> Provide a way to change the generated project after archetype:generate execution
> --------------------------------------------------------------------------------
>
>                 Key: ARCHETYPE-494
>                 URL: https://issues.apache.org/jira/browse/ARCHETYPE-494
>             Project: Maven Archetype
>          Issue Type: New Feature
>    Affects Versions: 2.4
>            Reporter: Petar Tahchiev
>            Assignee: Petar Tahchiev
>             Fix For: 3.0.0
>
>
> It would be a nice enhancement to be able to modify the created project after {{archetype:generate}} execution (create/update/delete files, update dependencies in pom.xml, etc).
> The way I see it this can be achieved by providing a special script that will be executed every time a project is generated from the archetype.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)