-
Type: Improvement
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.9.2
-
Component/s: Infrastructure, Nuxeo Package Management
-
Impact type:Configuration Change
-
Upgrade notes:
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.
<!-- 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>
<!-- 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.