share-services amp (6.2.1) packs repo components

Description

Some explicit dependencies added in Share are not set as provided, so the jars are packed in the share-services amp.
One example is alfresco-core https://github.com/Alfresco/share/blob/master/share-services/pom.xml#L33
So there is a possibility to end up with 2 versions of alfresco-core in the alfresco war, when applying the amp.
The libraries identified by the build (https://travis-ci.com/Alfresco/acs-packaging/jobs/293312424#L270) when applying the 6.2.1 share-services amp over content-repository 6.2.1:

Expected:

The share-services amp should not bring in repo components.
As for the other libraries, 3rd-party, the versions should match with what is used in alfresco.war.

Environment

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

Assignee

Unassigned

Reporter

Ancuta Morarasu

Bug Priority

Category 1

Delivery Team

Team Apps1

Release Train

Paddington