[ https://issues.apache.org/jira/browse/ARCHETYPE-537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dong Xu updated ARCHETYPE-537: ------------------------------ Component/s: (was: Generator) (was: Creator) > fileset exclude or include on conditions > ---------------------------------------- > > Key: ARCHETYPE-537 > URL: https://issues.apache.org/jira/browse/ARCHETYPE-537 > Project: Maven Archetype > Issue Type: New Feature > Components: Archetypes > Affects Versions: 3.0.1 > Environment: > Reporter: Dong Xu > Labels: features > > I think this will be an useful feature: > maven archetype user can choose to include a component or not according to a > required property. > For Example: > I am xxx-archetype developer, and I set "*useRedis*" as one required > property. > Now some guys want to use xxx-archetype, so if he give a "N" value to this > property , the "*src/main/resources/spring/redis.xml*" will be excluded. > Otherwise, the generated project will include > "*src/main/resources/spring/redis.xml*". -- This message was sent by Atlassian JIRA (v6.4.14#64029)