AEM 6.1 Maven依赖关系解决 [英] AEM 6.1 Maven Dependency Resolution
问题描述
我将AEM6.1和Maven用作构建管理器.
I'm using AEM6.1 with Maven as build manager.
我想扩展 com.day.cq.dam.core.process.ThumbnailProcess 类. 使用AEM内置依赖项解析器
I want to extend the com.day.cq.dam.core.process.ThumbnailProcess class. Using the AEM buit-in dependency resolver
系统/控制台/depfinder
system/console/depfinder
似乎该类应该包含在
<dependency>
<groupId>com.day.cq.dam</groupId>
<artifactId>cq-dam-core</artifactId>
<version>5.8.172</version>
<scope>provided</scope>
</dependency>
无论如何, Adobe nexus回购不包含该版本,并且所有年长者不提供上述课程.
Anyway the Adobe nexus repo does not contain this version and all the older do not provide the above class.
我想知道如何解决这个问题. 感谢您的任何建议.
I wish to know how to manage this problem. Thanks for any advice.
推荐答案
在最新版本中,Adobe将所有内容都放入了一个巨大的依赖项jar中.
In the latest version Adobe pushed everything into a giant dependencies jar.
将其放在您的POM末尾:
Put this at the end of your POM:
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>uber-jar</artifactId>
<version>6.1.0</version>
<scope>provided</scope>
<classifier>obfuscated-apis</classifier>
</dependency>
这篇关于AEM 6.1 Maven依赖关系解决的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!