You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (JIRA)" <ji...@apache.org> on 2014/06/20 18:10:27 UTC

[jira] [Created] (SLING-3682) Sling Models: ModelPackageBundleListener should support .* notation for scanning packages

Stefan Seifert created SLING-3682:
-------------------------------------

             Summary: Sling Models: ModelPackageBundleListener should support .* notation for scanning packages
                 Key: SLING-3682
                 URL: https://issues.apache.org/jira/browse/SLING-3682
             Project: Sling
          Issue Type: Improvement
          Components: Extensions
    Affects Versions: Sling Models Implementation 1.0.2
            Reporter: Stefan Seifert
         Attachments: 140620_SLING-3682_slingmodels_starpackagesupport.patch

the maven-bundle-plugin currently supports exporting single packages or packages including subpackages using {{.*}} notation, e.g. in the {{Export-Package}} instruction.

this is currently not possible in sling models using the {{Sling-Model-Packages}} instruction. it always includes the subpackages. it would be more consistent to respect the {{.*}} as well.

a patch is included that fixes this behavior.

unfortunately this is not backward compatibly - but perhaps this is it worth any way for the sake of consistency?



--
This message was sent by Atlassian JIRA
(v6.2#6252)