Steps to reproduce:
Delete the last line from rm-enterprise-repo Dockerfile
In rm-enterprise-repo folder build the image: mvn clean install -PbuildDockerImage
Run the custom image: docker run alfresco/ags-repo-enterprise
Get the id of the created container by listing containers: docker ps
Connect to the created container: docker exec -it CONTAINER_ID bash
Execute:
java -jar alfresco-mmt/alfresco-mmt-6.0.jar install amps/alfresco-rm-enterprise-repo-3.0.0-SNAPSHOT.amp webapps/alfresco
Expected:
Installation should be successful
Actual:
ERROR: The amp will overwrite an existing file in the war '/WEB-INF/lib/jackson-annotations-2.
9.5.jar'. Execution halted. By specifying -force , you can force installation of AMP regardless of the current war state.
[This comment has been reassigned to allreplies@alfresco.com as part of the Alfresco cloud migration project. The author of this comment was buildandpackaging] Rodica Sutu mentioned this issue in a merge request of records-management/records-management:
'RM-6401 remove unnecessary libraries from the amp archive'