amitsample - Corecom.amit.sample.core secreenshot
maven dependency I added
<!-- https://mvnrepository.com/artifact/org.apache.sling/org.apache.sling.models.api -->
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.models.api</artifactId>
<version>1.2.2</version>
<scope>provided</scope>
</dependency>
but after doing maven clean install and uploading the bundle in aem I am getting like above ---> can not be resolved ...
and even when i check sling model api bundle in my system/console it is showing lower version 1.1.0
why it has not been updated when i updated my maven dependncy version and built(amitsample - Corecom.amit.sample.core) it and uploaded in system/console ..
if I want to use 1.2.2 version of sling model api how we can do that ? ---adding maven dependcy is not helping ...