You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Oliver Lietz (Jira)" <ji...@apache.org> on 2024/12/20 19:33:00 UTC

[jira] [Resolved] (SLING-12577) Drop Sling Options

     [ https://issues.apache.org/jira/browse/SLING-12577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Lietz resolved SLING-12577.
----------------------------------
    Resolution: Done

> 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
>            Priority: Major
>             Fix For: Testing PaxExam 5.0.0
>
>
> 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)