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

Use org.nuxeo.lib groupId for non bundle Nuxeo JARs

    Details

    • Impact type:
      Configuration Change
    • Upgrade notes:
      Hide

      Changes on groupId:
      org.nuxeo.ecm.platform:nuxeo-wss-front renamed to org.nuxeo.lib.wss:nuxeo-wss-front
      org.nuxeo.ecm.core:nuxeo-core-storage-sql-extensions renamed to org.nuxeo.lib.core:nuxeo-core-storage-sql-extensions
      org.nuxeo.runtime:nuxeo-runtime-launcher renamed to org.nuxeo.lib.runtime:nuxeo-runtime-launcher
      org.nuxeo.runtime:nuxeo-runtime-tomcat-adapter renamed to org.nuxeo.lib.runtime:nuxeo-runtime-tomcat-adapter

      Show
      Changes on groupId: org.nuxeo.ecm.platform:nuxeo-wss-front renamed to org.nuxeo.lib.wss:nuxeo-wss-front org.nuxeo.ecm.core:nuxeo-core-storage-sql-extensions renamed to org.nuxeo.lib.core:nuxeo-core-storage-sql-extensions org.nuxeo.runtime:nuxeo-runtime-launcher renamed to org.nuxeo.lib.runtime:nuxeo-runtime-launcher org.nuxeo.runtime:nuxeo-runtime-tomcat-adapter renamed to org.nuxeo.lib.runtime:nuxeo-runtime-tomcat-adapter

      Description

      Some Nuxeo JARs are moved out of the bundle directory because they are simple libraries, not bundles. See:

      $ find nuxeo-cap-5.8-tomcat -name 'nuxeo*.jar' |grep -v bundles
      nuxeo-cap-5.8-tomcat/bin/nuxeo-launcher.jar
      nuxeo-cap-5.8-tomcat/nxserver/lib/nuxeo-generic-wss-handler-5.8.jar (gone in 5.9.1)
      nuxeo-cap-5.8-tomcat/client/nuxeo-shell-5.8.jar
      nuxeo-cap-5.8-tomcat/lib/nuxeo-runtime-tomcat-adapter-5.8.jar
      nuxeo-cap-5.8-tomcat/lib/nuxeo-runtime-launcher-5.8.jar
      nuxeo-cap-5.8-tomcat/lib/nuxeo-generic-wss-front-5.8.jar (nuxeo-wss-front in 5.9.1)
      nuxeo-cap-5.8-tomcat/lib/nuxeo-core-storage-sql-extensions-5.8.jar

      The nuxeo-launcher.jar and nuxeo-shell-5.8.jar are treated apart.
      The others, in "lib" and "nxserver/lib" require specific treatment in the assemblies. That's a pain which can be avoided by defining the convention: if an artifact groupId starts with "org.nuxeo.lib", then it's not a bundle and must be placed in "nxserver/lib" directory.

      Update nuxeo-runtime-tomcat-adapter, nuxeo-runtime-launcher, nuxeo-wss-front and nuxeo-core-storage-sql-extensions.
      Update accordingly all the Marketplace assemblies.

      Before
          <!-- Nuxeo bundles -->
          <copy todir="${outdir}/nxr/bundles" overwrite="true">
            <artifact:set>
              <includes>
                <artifact groupId="org.nuxeo*" scope="!test" type="!pom" />
              </includes>
            </artifact:set>
          </copy>
          <!-- Third-party libraries -->
          <copy todir="${outdir}/nxr/lib" overwrite="true">
            <artifact:set>
              <includes>
                <artifact groupId="!org.nuxeo*" scope="!test" />
              </includes>
            </artifact:set>
          </copy>
          <move todir="${outdir}/nxr/lib">
            <fileset dir="${outdir}/nxr/bundles">
              <include name="nuxeo-generic-wss-front*" />
              <include name="nuxeo-generic-wss-handler*" />
            </fileset>
          </move>
      
      After
          <!-- Nuxeo bundles -->
          <copy todir="${outdir}/nxr/bundles" overwrite="true">
            <artifact:set>
              <includes>
                <artifact groupId="org.nuxeo*" scope="!test" type="!pom" />
              </includes>
              <excludes>
                <artifact groupId="org.nuxeo.lib*" />
              </excludes>
            </artifact:set>
          </copy>
          <!-- Third-party libraries -->
          <copy todir="${outdir}/nxr/lib" overwrite="true">
            <artifact:set>
              <includes>
                <artifact groupId="!org.nuxeo*" scope="!test" />
                <artifact groupId="org.nuxeo.lib*" scope="!test" />
              </includes>
            </artifact:set>
          </copy>
      

      => there's no more need to explicitly manage nuxeo-generic-wss* artifacts.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.