0

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

jPring
  • 1
  • 1
  • 1
    Please include your code and exception as a text to your question. – Selim Yildiz Jan 31 '20 at 15:23
  • 1
    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. – awd Feb 01 '20 at 03:39
  • Does it happen on compile time when running mvn clean install or in runtime when you try to load a certain page? – ronnyfm Mar 12 '20 at 19:50

1 Answers1

0

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.

Wai Ha Lee
  • 8,598
  • 83
  • 57
  • 92
jPring
  • 1
  • 1