如何在 Eclipse 中使用多个 alfresco AMP 文件 [英] How to use multiple alfresco AMP file in eclipse

查看:25
本文介绍了如何在 Eclipse 中使用多个 alfresco AMP 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 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 的引用:https://oss.sonatype.org/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 : 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 中使用多个 alfresco AMP 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆