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

[jira] [Created] (SLING-10573) Separate Consumer- and ProviderTypes in packages to package versioning

Dirk Rudolph created SLING-10573:
------------------------------------

             Summary: Separate Consumer- and ProviderTypes in packages to package versioning
                 Key: SLING-10573
                 URL: https://issues.apache.org/jira/browse/SLING-10573
             Project: Sling
          Issue Type: New Feature
          Components: Extensions
            Reporter: Dirk Rudolph
            Assignee: Dirk Rudolph
             Fix For: Sitemap 1.0.0


As suggested by Konrad here [https://lists.apache.org/thread.html/r333e58659f06f180c86480d91011933f22294908f0d587ad063ddc07%40%3Cdev.sling.apache.org%3E] the following should be addressed to ensure best possible semantic versioning:

 - Don't mix Consumer and Provider interfaces in the same package ([o.a.s.sitemap.generator|https://github.com/apache/sling-org-apache-sling-sitemap/tree/master/src/main/java/org/apache/sling/sitemap/generator] and [o.a.s.sitemap.builder.extensions|https://github.com/apache/sling-org-apache-sling-sitemap/tree/master/src/main/java/org/apache/sling/sitemap/builder/extensions])
 - Make SitemapUtil final to ease semantic versioning

And a minor unrelated addition:
- SitemapGenerator.GenerationContext should rather be named SitemapGenerator.Context or SitemapGenerator.GeneratorContext. 



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