cancel
Showing results for 
Search instead for 
Did you mean: 

Add external AMPs

ramymansouri
Champ in-the-making
Champ in-the-making
Hi everyone,

Please how can I add an AMPs folder (external AMPs) to my alfresco SDK 2.0.0 maven project ?

Thank you.

Regards,
Ramy.
1 REPLY 1

gravitonian
Star Collaborator
Star Collaborator
Hi,

I assume you have an all-in-one Maven project. Then you can add external AMPs that are available in an external maven repository as follows:

For Alfresco.war (repo extensions), use the following POM:
all-in-one/repo/pom.xml

So you would add a dependency for your external AMP and then add it also as an overlay for the maven-war-plugin. See commented out example for alfresco-spp AMP.

Same thing for Share.war extensions, use the following POM:
all-in-one/share/pom.xml