Oliver Lietz created SLING-12577:
------------------------------------

             Summary: Drop Sling Options
                 Key: SLING-12577
                 URL: https://issues.apache.org/jira/browse/SLING-12577
             Project: Sling
          Issue Type: Task
          Components: Testing
            Reporter: Oliver Lietz
            Assignee: Oliver Lietz
             Fix For: Testing PaxExam 4.0.2


Sling's Options for Pax Exam - all Options which are in {{SlingOptions.java}} 
but not in the template {{SlingOptions.hbs}} - are created from Sling's Karaf 
Features.

The strict resolving process in Karaf and the integration tests ensure the 
integrity of the Features and therefore the integrity of the Options in Testing 
PaxExam (with additional tests in Testing PaxExam outside Karaf's context).

The resolving process requires correct meta data (e.g. package imports and 
exports, required and provided capabilities) in bundles which is not always the 
case. The required capacity to manually fix the meta data is no longer given.

Example fixes:
 * 
[https://github.com/apache/sling-org-apache-sling-engine/blob/dde78a19ebec6fb6f3a79a04c385302ab0c63173/bnd.bnd#L7]
 * 
[https://github.com/apache/sling-org-apache-sling-commons-crypto/blob/ed812b3ccf2ca849cf3e6a45ec55ea5312c5e96d/bnd.bnd#L12]
 * 
https://github.com/apache/sling-org-apache-sling-karaf-features/blob/8559bdd4d71bc2cb9c46bd52951b830fad95d95c/src/main/feature/feature.xml#L476



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to