如何在eclipse中使用多个户外AMP文件 [英] How to use multiple alfresco AMP file in eclipse
问题描述
我该如何实现?我们可以在eclipse中的单个露天工程中使用多个放大器,还是可以通过组合两个不同的放大器文件来创建单个放大器文件?
独立于您正在使用的IDE,可以在启动之前设置一体式项目来获取并应用几个额外的电平(从一个本地或远程的maven repo):
- 创建一个新的放大器(可选)
- 构建您的放大器(可选)
- 在您的项目中添加放大器的依赖项(您可能需要添加存储库)
- 添加
- 运行并享受
要了解有关此过程的更多信息,请查看官方文档这里
更新:在 uploader-plus
amps的情况下,您需要从这里并在本地安装(使用 mvn clean install
)或在您的pom中添加引用到此maven repo:
https://oss.sonatype.org/content/repositories/releases/
但我可以看到只有v1.2被发布 there ,所以你可能想坚持选项1!
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???
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 !
这篇关于如何在eclipse中使用多个户外AMP文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!