How to use multiple alfresco AMP file in eclipse

心不动则不痛 提交于 2019-12-08 05:44:02

问题


I have created one Alfresco project in Eclipse. I want to use one uploader-plus AMP file in my newly created Alfresco project in Eclipse.

How can I achieve this?

can we use multiple amps in single alfresco project in eclipse or can we create single amp file by combining 2 different amp files???


回答1:


Independently from the IDE you are using, it is possible to setup an All-In-One project to fetch and apply several extra amps before starting up (either from a local or a remote maven repo) :

  • Create a new amp (Optional)
  • Build a release for your amp (Optional)
  • Add dependency for your amp in your project (You may need to add a repository as well)
  • Add an overlay for your amp to either share or repo (depending on the nature of your amp)
  • Run and enjoy

To learn more about this process please check the official documentation here


UPDATE : In the case of uploader-plus amps, you need either to fetch projects from here and install them locally (using mvn clean install) or add reference in your pom to this maven repo : https://oss.sonatype.org/content/repositories/releases/ but I can see only v1.2 is released there so you probably would want to stick to option 1 !



来源:https://stackoverflow.com/questions/36257155/how-to-use-multiple-alfresco-amp-file-in-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!