Search code examples
mavengoogle-apibundleaemdfareporting

com.google.api import "cannot be resolved" AEM 6.4


I'm trying to add the google DFA reporting api in order to track offline conversions and post view conversions on my website. I believe I have added the dependencies correctly and built the files in maven properly but I am getting a "cannot be resolved error" in the AEM bundles. Does anyone know why this is? "Cannot be resolved errors"

Project pom.xml

Project core pom.xml


Solution

  • awd said in a comment:

    you need to find an osgi bundle packaging of the dependencies and install it on AEM, alternately you can also embed them in your bundle.

    I just embedded the google.api dependancies into my project bundle.