Plug-ins must be packed into a ZIP file. This archive must contain the following file structure (subfolders). In this description, PLUGIN_DIR
is a directory name that is a string representation of the Java™ package name of the plug-in.
contains the plug-in manifest file (plugin.xml) and files used by the plug-in to render itself (HTML files, JSP pages). Additional folders for plug-in files can be included./server/plugins/PLUGIN_DIR/nls
contains the plugin.properties file and the user interface files that the plug-in might need for translation. /server/plugins/PLUGIN_DIR/classes
contains the plug-in's Java classes./server/plugins/PLUGIN_DIR/lib
contains JAR files used by the plug-in.
The only requirement for the ZIP file name is that its extension is .zip. An example plug-in zip file is included in the product. Browse to http://host:port/mashuphub/client/doc/pluginsamples/hello.zip
When the MashupHub server starts, it examines the WEB-INF/plugins
folder to find any new ZIP files. If it finds one, it unpacks and processes it. System plug-ins are preinstalled and are not present in the plugins
Parent topic: Plugin packaging: imc3