AEM 6.4.3 | Osgi R7 | Bundle in Installed status
Hi,
I created a project using maven archetype 17
mvn archetype:generate -DarchetypeGroupId=com.adobe.granite.archetypes -DarchetypeArtifactId=aem-project-archetype -DarchetypeVersion=17 -P adobe-public
updated the pom to use OSGI R7 dependencies
<dependency>
<groupId>org.osgi</groupId>
<artifactId>osgi.core</artifactId>
<version>7.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>osgi.cmpn</artifactId>
<version>7.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>osgi.annotation</artifactId>
<version>7.0.0</version>
<scope>provided</scope>
</dependency>
Deployed to AEM 6.4.3 instance. But the bundle is in installed status due to
org.osgi.service.event,version=[1.4,2.0) -- Cannot be resolved
SimpleResourceListener.java sample class is importing the interface org.osgi.service.event.EventHandler from org.osgi:osgi.cmpn:7.0.0 and this is not available in the felix container.
Could you please help me in resolving this issue?
Thanks,
Radha Krishna N