com.google.gson.internal -- Cannot be resolved
Hi Team,
How to add embed-dependency in bnd-maven-plugin. wanna add com.google.gson
com.google.gson.internal -- Cannot be resolved
Hi Team,
How to add embed-dependency in bnd-maven-plugin. wanna add com.google.gson
com.google.gson.internal -- Cannot be resolved
Which version of AEM are you using @sathyaprakasha2 . In most of the latest version of AEM , google gson bundle should be available in the felix console already. Can you check /system/console/depfinder and search for the archetype you want to install ?
I have 6.5 version and I already have gson in my felix console. PFB the screenshot. You can copy the dependency from here and add it in the pom.xml files under <dependencyManagement><dependencies> section.
1) Add below dependency on your main pom.xml
<dependency>
<artifactId>gson</artifactId>
<version>2.8.5</version>
<groupId>com.google.code.gson</groupId>
<scope>provided</scope>
</dependency>2) Add the below in your core/pom.xml
<dependency>
<artifactId>gson</artifactId>
<groupId>com.google.code.gson</groupId>
</dependency>

If it is not available in your Felix console , then you can treat it as a third party bundle and follow the article mentioned by @ankur_khare
Hope this helps 🙂
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.