The Add-ons Manager defines a standard approach of packaging, installing/uninstalling and updating add-ons. To comply with eXo add-ons, you need to compress JARs, WARs and another files into a zip archive:
foo-addon-X.Y.Z.zip/ |-- foo-addon.jar |-- somelib.jar |-- foo-portlets.war |-- foo-extension.war |-- foo |-- foo.conf |-- README
When you install an add-on, the Add-ons Manager copies files from the add-on archive into eXo Platform, as follows:
JARs: $PLATFORM_TOMCAT_HOME/lib/
(Tomcat), or $PLATFORM_JBOSS_HOME/standalone/deployments/platform.ear/lib/
(JBoss);
WARs: $PLATFORM_TOMCAT_HOME/webapps/
(Tomcat), or $PLATFORM_JBOSS/HOME/standalone/deployments/platform.ear/
(JBoss);
Other files and folders located at the root of the zip archive will be copied at the root directory of the eXo Platform server.
An ASCII file named README
may be placed at the root of the archive.
This file is never installed. Instead, it is displayed in the console after a successful installation.