Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-23242

shibboleth invitation addon deploys unneeded jar in wrong location

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 6.0, 7.10
    • Fix Version/s: ADDONS_6.0, ADDONS_7.10
    • Component/s: Shibboleth

      Description

      The nuxeo-core-storage-sql-extensions location is wrong. It should be deployed in nxserver/lib.
      Moreover the addon should not deploy this jar at all. This is the job of an HF, not an addon since it is a platform lib.

      After doing:

      ./nuxeoctl mp-install nuxeo-shibboleth-addon

      The jar is clearly deployed and should not.

      find . -name "*sql*ext*.jar"
      ./nxserver/bundles/nuxeo-core-storage-sql-extensions-7.10.jar
      ./nxserver/lib/nuxeo-core-storage-sql-extensions-7.10-HF32.jar
      ./packages/backup/nxserver/bundles/nuxeo-core-storage-sql-extensions-7.10.jar
      ./packages/backup/nxserver/lib/nuxeo-core-storage-sql-extensions-7.10-HF32.jar
      ./packages/backup/nxserver/lib/nuxeo-core-storage-sql-extensions-7.10.jar
      ./packages/store/nuxeo-7.10-HF32-1.0.0/install/bundlesupdate/nxserver/lib/nuxeo-core-storage-sql-extensions-7.10-HF32.jar
      ./packages/store/nuxeo-shibboleth-invitation-1.1.1/install/bundles/nuxeo-core-storage-sql-extensions-7.10.jar

      Looking at the listing above, the problem is the addon contains the sql extensions jar whereas it should not.

      This also happens in 6.0:

      find . -name "*sql*ext*.jar"
      ./lib/nuxeo-core-storage-sql-extensions-6.0-HF13.jar
      ./nxserver/bundles/nuxeo-core-storage-sql-extensions-6.0-HF18.jar
      ./packages/store/nuxeo-6.0-HF13-1.0.0/install/syslib/nuxeo-core-storage-sql-extensions-6.0-HF13.jar
      ./packages/store/nuxeo-template-rendering-6.4.0/install/bundles/nuxeo-core-storage-sql-extensions-6.0.jar
      ./packages/store/nuxeo-diff-1.5.0/install/bundles/nuxeo-core-storage-sql-extensions-6.0.jar
      ./packages/store/nuxeo-shibboleth-invitation-1.0.1/install/bundles/nuxeo-core-storage-sql-extensions-6.0-HF18.jar
      ./packages/store/nuxeo-drive-1.4.1/install/bundles/nuxeo-core-storage-sql-extensions-6.0.jar
      ./packages/store/nuxeo-web-mobile-1.6.0/install/bundles/nuxeo-core-storage-sql-extensions-6.0.jar
      ./packages/backup/lib/nuxeo-core-storage-sql-extensions-6.0-HF13.jar
      ./packages/backup/lib/nuxeo-core-storage-sql-extensions-6.0.jar
      ./packages/backup/nxserver/bundles/nuxeo-core-storage-sql-extensions-6.0-HF18.jar
      

      Please note that this does not happen in 8.10 and later versions.

      Comparing assembly files does not lead to obvious cause:
      https://github.com/nuxeo/marketplace-shibboleth-invitation/blob/1.1_7.10/marketplace/src/main/assemble/assembly.xml
      https://github.com/nuxeo/marketplace-shibboleth-invitation/blob/1.2_8.10/marketplace/src/main/assemble/assembly.xml

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ffischer Frantz Fischer
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 15 minutes
                  1h 15m