What is a plugin
A plugin is a regular ZIP file using the
1989 PKZip
original format, with deflate compression
or no compression (beware to produce compatible files), and must have the
following structure:
-
META-INF/cvplugin.properties
- can define several core properties related to the plugin, as key=value lines terminated by a line feed.Note:Properties can only use ASCII characters, a restriction that Java annotations do not bear for properties such as "Author" or "Copyright". See Description of the META-INF/cvplugin.properties file.
-
lib/
- subdirectory contains the plugin JAR file(s). The JAR file(s) will be parsed by the framework to locate all classes, load the required ones, execute initialization steps, etc. -
Other sub-directories can be included to collect additional resources. We strongly recommend not to put any standalone file at the top level of the ZIP directory structure, and collect necessary material in a dedicated sub-folder, such as a
resources/
sub-folder.