[ 
https://issues.apache.org/jira/browse/SLING-3682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14042539#comment-14042539
 ] 

Stefan Seifert commented on SLING-3682:
---------------------------------------

ok - but then at least the documentation should be updated, because the 
behavior is different from export-package which does not include subpackages.

> 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)

Reply via email to