Full name:
org.apache.sling:slingfeature-maven-plugin:1.7.2:analyse-features
Description:
Attributes:
test.verify.| 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 |
|---|---|---|---|
<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. |
<failOnAnalyserErrors> |
boolean |
- |
(no description) Default value is: true.User property is: failon.analyser.errors. |
<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. |
<framework> |
Dependency |
- |
The framework to use for analysing the feature models if not
contained in an execution-environment extension. |
<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. |
<logWarnings> |
boolean |
1.3.8 |
By default the warnings from the analysers are logged. Setting this
to false disables logging them. Default value is: true. |
<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. |
<scans> |
List |
- |
The scans for the analyser |
<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. |
boolean1.3.6Nofalseboolean1.3.6NotruebooleanNofailon.analyser.errorstruejava.io.FileYessrc/main/featuresjava.lang.StringNojava.lang.StringNo**/*.jsonorg.apache.maven.model.DependencyNojava.io.FileNojava.lang.StringNojava.lang.StringNo**/*.jsonintNoboolean1.3.8Notruejava.lang.String1.3.6Nojava.util.ListNotrue the artifacts from the feature are not
as dependencies to the project.booleanNofalsetrue the main jar artifact is not added to
the feature.booleanNofalsetrue the main jar artifact is not added to
the test feature.booleanNofalsetrue the artifacts from the test feature are
not as dependencies to the project.booleanNotruejava.io.FileYessrc/test/featuresjava.lang.StringNojava.lang.StringNo**/*.jsontrue the features are validated against the
JSON schema.booleanNotrue