Can't install RM enterprise repo amp without -force

Description

Steps to reproduce:

  1. Delete the last line from rm-enterprise-repo Dockerfile

  2. In rm-enterprise-repo folder build the image: mvn clean install -PbuildDockerImage

  3. Run the custom image: docker run alfresco/ags-repo-enterprise

  4. Get the id of the created container by listing containers: docker ps

  5. Connect to the created container: docker exec -it CONTAINER_ID bash 

  6. 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.

 

 

Activity

Show:
All Replies
June 21, 2018, 12:49 PM

[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'

Done
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Unassigned

Reporter

Claudia Agache