Adding Plugins to Enterprise Repositories
To be available to AppCode users, all enterprise repository plugins must be listed in the file
updatePlugins.xml along with their URLs and version numbers. This file must be available at the URL specified for the corresponding repository (see Managing Enterprise Plugin Repositories).
The plugins themselves are identified by their individual URLs and thus may be located on different Web servers.
Adding a plugin to an enterprise plugin repository
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.xmlmay 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
versionattribute in the plugin definition.
updatePlugins.xml must correspond to the following Document Type Definition (DTD):