This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch issue/SLING-12353
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature-analyser.git


The following commit(s) were added to refs/heads/issue/SLING-12353 by this push:
     new 207e700  SLING-12353 - The AnalyserMetaDataHandler is executed too 
often
207e700 is described below

commit 207e7003e91d9a355134fc0eb906a59927d9c677
Author: Robert Munteanu <[email protected]>
AuthorDate: Fri Jun 21 21:30:07 2024 +0200

    SLING-12353 - The AnalyserMetaDataHandler is executed too often
    
    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 7530b1f..bb4cad4 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.
 
 The section can have entries that match individual bundle names and entries 
that match based on regular expressions (if the key contains the "*" character).
 
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

Reply via email to