Uploaded image for project: 'Share Application'
  1. Share Application
  2. SHA-2445

share-services amp (6.2.1) packs repo components

    Details

      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:

      [ERROR] The following libraries have more than one version:  alfresco-core-7.28.jar alfresco-core-8.21.jar spring-surf-core-7.12.jar spring-surf-core-8.2.jar spring-surf-core-configservice-7.12.jar spring-surf-core-configservice-8.2.jar taglibs-standard-impl-1.2.3.jar taglibs-standard-impl-1.2.5.jar taglibs-standard-jstlel-1.2.3.jar taglibs-standard-jstlel-1.2.5.jar taglibs-standard-spec-1.2.3.jar taglibs-standard-spec-1.2.5.jar
      

      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.

        Attachments

          Structure

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                amorarasu Ancuta Morarasu
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Structure Helper Panel