The MashupHub framework automatically installs third-party plug-ins at web application startup.
The MashupHub framework searches for ZIP files in a special WebApplication/WEB-INF/plugins
directory. The directory WebApplication
is where the MashupHub web application is installed. For example: install-dir\\Hub\\installedApps\\Mashup Hub.ear\\mashuphub-enterprise.war\\WEB-INF\\plugins
. Plug-in resources are distributed among various directories by MashupHub as part of the plug-in installation procedure. After installation, compiled plug-in Java™ classes are located in directories beneath the WEB-INF/classes
Plugin package structure: imc3
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.
Manifest file plugin.xml: imc3
The plug-in manifest file, named plugin.xml
, provides information about the plug-in.
Plugin properties file: imc3
Information to be displayed by MashupHub to represent the plug-in selection lists should be included in one or more plugin.properties
Parent topic: Plugin API: imc3