- Upload your plugin JAR onto a Web server.
-
Add the plugin definition to updatePlugins.xml.
If this file doesn't yet exist, create it at the location corresponding to the repository URL.
The plugin definition in updatePlugins.xml may look similar to this:
<plugins> ... <plugin id="MyPlugin" url="http://plugins.example.com:8080/myPlugin.jar" version="1.0"/> ... </plugins>
- To publish a new version of the same plugin, upload the corresponding plugin JAR to the repository, and change the value of the version attribute in the plugin definition.
DTD for updatePlugins.xml
The file updatePlugins.xml must correspond to the following
Document Type Definition
(DTD):
<!DOCTYPE plugins [ <!ELEMENT plugins(plugin)*> <!ELEMENT plugin (#PCDATA)> <!ATTLIST plugin id CDATA #REQUIRED url DATA #REQUIRED version CDATA #REQUIRED>]>
