Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2-beta-3
-
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.