Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. MASSEMBLY-414

Allow regular expressions in include/exclude patterns for filesets

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2-beta-3
    • 2.2-beta-4
    • None
    • None

    Description

      In certain cases, it's very difficult to accomplish the right blend of inclusions and exclusions for fileSets. For instance, if a project contains ${basedir}/target and ${basedir}/src/site/resources/examples/target/blah, and also contains child modules with similar constructs, it can be next to impossible to include all of the legit sources for the project structure while at the same time excluding the target directories generated during a build.

      With regex and negative-lookahead, we could handle this case. Therefore, we should provide some syntax for embedding a regular expression in an include/exclude pattern. This will help the assembly plugin to generate a release source bundle for ASF projects.

      Attachments

        Activity

          People

            jdcasey John Dennis Casey
            jdcasey John Dennis Casey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: