You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2021/06/08 14:36:00 UTC

[jira] [Created] (SLING-10471) Allow giving and evaluating an optional removal date for deprecated package exports

Konrad Windszus created SLING-10471:
---------------------------------------

             Summary: Allow giving and evaluating an optional removal date for deprecated package exports
                 Key: SLING-10471
                 URL: https://issues.apache.org/jira/browse/SLING-10471
             Project: Sling
          Issue Type: Improvement
          Components: Feature Model Analyser
    Affects Versions: Feature Model API Regions Extension 1.2.10
            Reporter: Konrad Windszus


The [CheckDeprecatedApi analyser|https://github.com/apache/sling-org-apache-sling-feature-extension-apiregions/blob/master/src/main/java/org/apache/sling/feature/extension/apiregions/analyser/CheckDeprecatedApi.java] should automatically raise warnings to errors in case a deprecated package is used which is soon to be removed.

That requires extending the [ApiExport|https://github.com/apache/sling-org-apache-sling-feature-extension-apiregions/blob/30868952cdb97f6e0c63839ab808ff680bc092bc/src/main/java/org/apache/sling/feature/extension/apiregions/api/ApiExport.java#L38] to allow it to hold a removal date for deprecated exported packages. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)