Hi, I can't tell if the feature request has been implemented or not, but for me the only way of achieving some sort of archetype generation customisation is by using the *post generate processing groovy script*. It's obvious this is not the straightforward way of ignoring some folders/files during the generation of the archetype from the existing project, but allows the archetype authors to avoid manual intervention after the run of the mvn archetype:create-from-project. Further information about the post generation processing groovy script can be found at generate-from-project <https://maven.apache.org/archetype/maven-archetype-plugin/advanced-usage.html> and an example at https://github.com/attivio/archetypes/blob/develop/attivio-archetype-client/src/main/resources/META-INF/archetype-post-generate.groovy
Considering groovy is an amazing language especially for this kind of jobs, I would highly urge anyone developing maven archetype to get accustomed with it. Kind regards, -- Sent from: http://maven.40175.n5.nabble.com/Maven-Users-f40176.html --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
