Uploaded image for project: 'Maven Archetype'
  1. Maven Archetype
  2. ARCHETYPE-537

fileset exclude or include on conditions

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.0.1
    • None
    • Archetypes

    Description

      I think this will be an useful feature:
      maven archetype user can choose to include files 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".

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dongxurr123 Dong Xu
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: