fix breaking test on share amp and tidy pom dependency in alfresco amp