如何在露天Maven项目中使用外部AMP

编程入门 行业动态 更新时间:2024-10-14 00:24:24
本文介绍了如何在露天Maven项目中使用外部AMP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在尝试在Alfresco Maven项目中使用alfresco-pdf-toolkit插件,无论如何,该项目的pom.xml文件中是否包含了放大器?

I'm trying to use the alfresco-pdf-toolkit addon in my Alfresco Maven project, is there anyway to include the amp in the pom.xml file of my project?

推荐答案

是的,假设您的项目使用Alfresco Maven SDK的多合一原型,则可以添加AMP依赖项作为覆盖.

Yes, assuming your project uses the all-in-one archetype of the Alfresco Maven SDK, you can add an AMP dependency as an overlay.

在回购文件pom.xml中查看示例.您会看到类似的内容:

Go look in the repo pom.xml for an example. You'll see something like:

<overlay> <groupId>${alfresco.groupId}</groupId> <artifactId>alfresco-spp</artifactId> <type>amp</type> </overlay>

多合一项目如何引入SPP依赖关系.您可以在其下添加其他AMP.

Which is how the all-in-one project brings in the SPP dependency. You can add additional AMPs below that.

您必须已经为要依赖的AMP运行"mvn install",以便将它们安装在本地Maven仓库中,或者它们必须在您的构建已知的其他Maven仓库中可用.

You must have already run "mvn install" for the AMPs you are depending on so that they are installed in your local Maven repo, or they must be available in some other maven repo that your build knows about.

更多推荐

如何在露天Maven项目中使用外部AMP

本文发布于:2023-11-28 13:41:53,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1642639.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:露天   项目   如何在   Maven   AMP

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!