com.google.api 导入 "cannot be resolved" AEM 6.4

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

我正在尝试添加 google DFA 报告 api 以跟踪离线转化和 post 查看我网站上的转化。我相信我已经正确添加了依赖项并正确地在 Maven 中构建了文件,但是我在 AEM 包中得到了 "cannot be resolved error"。有人知道为什么吗? "Cannot be resolved errors"

Project pom.xml

Project core pom.xml

awd said in :

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.

我刚刚将 google.api 依赖项嵌入到我的项目包中。