我在 Eclipse 中创建了一个 Alfresco 项目.我想在 Eclipse 中新创建的 Alfresco 项目中使用一个上传器加 AMP 文件.
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?
我们可以在 eclipse 的单个 alfresco 项目中使用多个放大器吗,或者我们可以通过组合 2 个不同的放大器文件来创建单个放大器文件???
can we use multiple amps in single alfresco project in eclipse or can we create single amp file by combining 2 different amp files???
推荐答案独立于您正在使用的 IDE,可以设置一个一体机项目以在启动之前获取和应用几个额外的放大器(或者来自本地或远程 maven 仓库):
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) :
- 创建一个新的放大器(可选)
- 为您的放大器构建一个版本(可选)
- 在您的项目中为您的放大器添加依赖项(您可能还需要添加一个存储库)
- 为您的放大器添加叠加层以进行共享或回购(取决于您的放大器的性质)
- 奔跑和享受
要了解有关此过程的更多信息,请查看官方文档 这里
To learn more about this process please check the official documentation here
更新:对于 uploader-plus 放大器,您需要从 here 并在本地安装它们(使用 mvn clean install)或在你的 pom 中添加对这个 maven repo 的引用:oss.sonatype/content/repositories/releases/ 但我看到只有 v1.2 发布了 那里 所以你可能想坚持选项 1 !
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 : oss.sonatype/content/repositories/releases/ but I can see only v1.2 is released there so you probably would want to stick to option 1 !
更多推荐
如何在 Eclipse 中使用多个 alfresco AMP 文件
发布评论