AEM 6.1 Maven依赖关系解决 [英] AEM 6.1 Maven Dependency Resolution

查看:173
本文介绍了AEM 6.1 Maven依赖关系解决的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将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>

无论如何, Adob​​e 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:

<depen­dency>
   <groupId>com.adobe.aem</groupId>
   <arti­fac­tId>uber-jar</arti­fac­tId>
   <ver­sion>6.1.0</ver­sion>
   <scope>pro­vided</scope>
   <clas­si­fier>obfuscated-apis</clas­si­fier>
</depen­dency>

这篇关于AEM 6.1 Maven依赖关系解决的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆