Full name:
org.apache.sling:slingfeature-maven-plugin:1.7.2:embed-features
Description:
Attributes:
test
.prepare-package
.Name | Type | Since | Description |
---|---|---|---|
<features> |
File |
- |
Directory containing feature files Default value is: src/main/features . |
<testFeatures> |
File |
- |
Directory containing test feature files. Default value is: src/test/features . |
Name | Type | Since | Description |
---|---|---|---|
<embed> |
FeatureSelectionConfig |
- |
Configuration to define the features to be embedded, by default all
features are embedded. |
<enableLegacyVariableReplacement> |
boolean |
1.3.6 |
Enable old variable replacement in feature model based on the full
maven project including system variables. If this is enabled,
enableProjectVariableReplacement and replacePropertyVariables have
no effect. Default value is: false . |
<enableProjectVariableReplacement> |
boolean |
1.3.6 |
Enable the replacement of variables when reading a feature model.
The supported variables are "project.groupId",
"project.artifactId", "project.version" and "project.osgiVersion". Default value is: true . |
<featuresExcludes> |
String |
- |
Comma separated list of excludes for the feature files. Feature
files excluded by this configuration are not processed at all. |
<featuresIncludes> |
String |
- |
Comma separated list of includes for the feature files in the
configured directory. Only feature files specified by this include
are processed. Default value is: **/*.json . |
<generatedFeatures> |
File |
- |
Directory containing generated feature files |
<generatedFeaturesExcludes> |
String |
- |
Comma separated list of excludes for the generated feature files.
Feature files excluded by this configuration are not processed at
all. |
<generatedFeaturesIncludes> |
String |
- |
Comma separated list of includes for the generated feature files in
the configured directory. Only feature files specified by this
include are processed. Default value is: **/*.json . |
<jarStartOrder> |
int |
- |
The start level for the attached jar/bundle. |
<replacePropertyVariables> |
String |
1.3.6 |
A comma separated list of variables which are replaced when a
feature model is read. The value of these variables is fetched from
the project properties. |
<resourcesPath> |
String |
- |
Path where the features are embedded in the target/classes
directory. Default value is: META-INF/features . |
<skipAddFeatureDependencies> |
boolean |
- |
If set to true the artifacts from the feature are not
as dependencies to the project.Default value is: false . |
<skipAddJarToFeature> |
boolean |
- |
If set to true the main jar artifact is not added to
the feature.Default value is: false . |
<skipAddJarToTestFeature> |
boolean |
- |
If set to true the main jar artifact is not added to
the test feature.Default value is: false . |
<skipAddTestFeatureDependencies> |
boolean |
- |
If set to true the artifacts from the test feature are
not as dependencies to the project.Default value is: true . |
<testFeaturesExcludes> |
String |
- |
Comma separated list of excludes for the test features. |
<testFeaturesIncludes> |
String |
- |
Comma separated list of includes for the test features. Default value is: **/*.json . |
<validateFeatures> |
boolean |
- |
If set to true the features are validated against the
JSON schema.Default value is: true . |
org.apache.sling.feature.maven.mojos.FeatureSelectionConfig
No
boolean
1.3.6
No
false
boolean
1.3.6
No
true
java.io.File
Yes
src/main/features
java.lang.String
No
java.lang.String
No
**/*.json
java.io.File
No
java.lang.String
No
java.lang.String
No
**/*.json
int
No
java.lang.String
1.3.6
No
java.lang.String
No
META-INF/features
true
the artifacts from the feature are not
as dependencies to the project.boolean
No
false
true
the main jar artifact is not added to
the feature.boolean
No
false
true
the main jar artifact is not added to
the test feature.boolean
No
false
true
the artifacts from the test feature are
not as dependencies to the project.boolean
No
true
java.io.File
Yes
src/test/features
java.lang.String
No
java.lang.String
No
**/*.json
true
the features are validated against the
JSON schema.boolean
No
true