This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature-analyser.git
The following commit(s) were added to refs/heads/master by this push:
new 7fae43b SLING-12353 - The AnalyserMetaDataHandler is executed too
often (#48)
7fae43b is described below
commit 7fae43ba49cbc90720e6df27b17f703d97f42dc4
Author: Robert Munteanu <[email protected]>
AuthorDate: Fri Jun 21 22:22:13 2024 +0200
SLING-12353 - The AnalyserMetaDataHandler is executed too often (#48)
Stop making the AnalyserMetaDataHandler available to the ServiceLoader. It
should instead be
manually configured, for instance via SLING-12356.
---
readme.md | 6 +++++-
.../services/org.apache.sling.feature.builder.PostProcessHandler | 1 -
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/readme.md b/readme.md
index 622ad59..fe2ce18 100644
--- a/readme.md
+++ b/readme.md
@@ -114,7 +114,11 @@ Checks bundle requirements/capabilities for consistency
and completeness.
## `analyser-metadata`
-Generates additional metadata that will be recorded in the feature model
definition. It is configured by defining an `analyser-metadata` section in the
feature model definition. The section will be processed by the extension when
the feature models are aggregated and will be replaced with the required
entries for bundles matching the configuration.
+Generates additional metadata that will be recorded in the feature model
definition. This additional metadata is used later on to influence the
behaviour of the analysers.
+
+This extension is not available by default using the ServiceLoader mechanism
and must be explicitly registered.
+
+It is configured by defining an `analyser-metadata` section in the feature
model definition. The section will be processed by the extension when the
feature models are aggregated and will be replaced with the required entries
for bundles matching the configuration.
### Bundle metadata
diff --git
a/src/main/resources/META-INF/services/org.apache.sling.feature.builder.PostProcessHandler
b/src/main/resources/META-INF/services/org.apache.sling.feature.builder.PostProcessHandler
deleted file mode 100644
index 84c826b..0000000
---
a/src/main/resources/META-INF/services/org.apache.sling.feature.builder.PostProcessHandler
+++ /dev/null
@@ -1 +0,0 @@
-org.apache.sling.feature.analyser.extensions.AnalyserMetaDataHandler
\ No newline at end of file