Dong Xu created ARCHETYPE-537:
---------------------------------

             Summary: 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, Creator, Generator
    Affects Versions: 3.0.1
         Environment: Deepin Linux 15.5 x64
Maven 3.3.6
openjdk 1.8
            Reporter: Dong Xu


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)

Reply via email to