简体   繁体   English

如何在基于alfresco Maven SDK的项目中添加Alfresco扩展?

[英]How add alfresco extension to project which is build on alfresco maven sdk?

Suppos that repo and share module were generated from maven alfresco archetype as described here . 如所描述的,从行家露天原型产生的回购Suppos和共享模块这里 And now it needed to install one of alvex addons. 现在,它需要安装alvex插件之一。 It is clear that jars/amp can be build from sources, but what to do with this? 很明显,罐子/放大器可以从源代码构建,但是该怎么办? Where to put they in generated maven project to get them installed in alfresco when mvn integration-test -Pamp-to-war is executed? 执行mvn integration-test -Pamp-to-war时,将它们放置在生成的Maven项目中以将其安装在户外的位置?

That tutorial assumes two separate maven projects created using the repo archetype and the share archetype, respectively. 该教程假定分别使用回购原型和共享原型创建了两个单独的Maven项目。

If you want to be able to run integration tests with multiple AMPs you may rather use the all-in-one archetype instead. 如果您希望能够对多个AMP运行集成测试,则可以改用多合一原型。

See How to use external AMP in alfresco Maven Project 请参阅如何在露天Maven项目中使用外部AMP

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM