commit | 7500e4d094b2a0a1add7fa09aa2cf5538d0540a6 | [log] [tgz] |
---|---|---|
author | David Bosschaert <bosschae@adobe.com> | Thu Feb 27 13:00:54 2020 +0000 |
committer | David Bosschaert <bosschae@adobe.com> | Thu Feb 27 13:00:54 2020 +0000 |
tree | f49158600663e203fc7ae71ba40904b83eadb83e | |
parent | 2df59eaa9bcd7a5fdee51900711f56543a3714ad [diff] |
[maven-release-plugin] prepare release org.apache.sling.feature.analyser-1.2.6
The Analyser can analyse features for completeness and correctness. The analyser is pluggable and can also perform other checks.
The analyser can be run from the commandline by running the following main class:
java org.apache.sling.feature.analyser.main.Main
The Analyser can also be run as part of a maven build via the slingfeature-maven-plugin
: https://github.com/apache/sling-slingfeature-maven-plugin
The following analysers are defined:
bundle-packages
: Checks bundle import/export package statements for consistency and completeness. If API Regions are used this analyser includes this information as part of the check, to ensure that bundles don't import packages of which they have no visibility because of API Regions restrictions.
bundle-content
: Gives a warning if a bundle container initial content specified with Sling-Initial-Content
.
bundle-resources
: Gives a warning if a bundle contains resources specified with Sling-Bundle-Resources
.
requirements-capabilities
: Checks bundle requirements/capabilities for consistency and completeness.
apis-jar
: validates that the sourceId
property of a bundle, if defined, is a comma-separated value list of artifact ids.
Additional analysers in relation to Feature Model API Regions can be found here: https://github.com/apache/sling-org-apache-sling-feature-extension-apiregions
For further documentation see: https://github.com/apache/sling-org-apache-sling-feature/blob/master/readme.md