Sling Model not showing in Sling Adapter Interface Felix

sudhag73425455

19-02-2019

We are using aem 6.3

I have a bunch of Sling models under com.client.core and  com.client.brand.core packages

My Pom.xml is having this configuration

<Sling-Model-Packages>com.client.brand.core,com.client.core,com.client.config.model</Sling-Model-Packages>

problem: I am unable to see the sling models of com.client.core and com.client.config.model when <<localhost:4502>>/system/console/adapters; but sling models of om.client.brand.core are showing

Work around: When I change the order of packages listed under Sling-Model-Packages, it works!

New order: 

<Sling-Model-Packages>com.client.core,com.client.config.model,com.client.brand.core</Sling-Model-Packages>

I see sling models from all 3 packages.

Why is this behavior getting exhibited?