我正在尝试在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
发布评论