问题
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