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