This is an automated email from the ASF dual-hosted git repository. cziegeler pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/sling-slingfeature-maven-plugin.git
The following commit(s) were added to refs/heads/master by this push: new d8d7216 Update readme with configuration details d8d7216 is described below commit d8d72166cb6611389b78010d227d034f81ca14cb Author: Carsten Ziegeler <cziege...@apache.org> AuthorDate: Wed Nov 14 15:07:56 2018 +0100 Update readme with configuration details --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d4cb850..bfd6dbf 100644 --- a/README.md +++ b/README.md @@ -10,10 +10,16 @@ Maven Plugin for OSGi Applications # Global Configuration -* features : The directory containing the feature files. The default is `src/main/features` and all files ending with `.json` are read including all sub directories. +* features : The directory containing the feature files. The default is `src/main/features`. +* featuresIncludes : The include pattern for feature files from the above directory. Default is `**/*.json`, therefore all files with the extension `.json` are read including sub directories. +* featuresExcludes : The exclude pattern for feature files from the above directoryy. Empty by default. + +This global configuration specifies the initial set of feature files used for the current project, the other goals can then refine this subset. ## Supported goals +Whenever a mojo can select from the above global list of features, `filesInclude` and `filesExclude` can be used to select from the above list. The patterns are relative to the specified features directory. + ### aggregate-features Produce an aggregated feature from a list of features. The list of features is either specified by include/exclude patterns based on the configured features directory of the project or Maven coordinates of features.