-pluginpath* PARAMETERS
-
Example:
-pluginpath=${workspace}/cnf/cache/plugins-2.2.0.jar
-
Pattern:
.*
Directives
url
Specify a URL to download this file from if it does not exist-
Example:
url=http://example.com/download/plugins-2.2.0.jar
-
Pattern:
.*
-
The -pluginpath
instruction allows you to define JAR files or directories that should be loaded into the local classloader for plugins. This is useful for plugins that are not embedded in bndlib and need to load their classes from external locations.
You can specify multiple -pluginpath
clauses in different places, and they will be merged together. If a specified file does not exist, you can provide a URL to download it, and optionally a SHA-1 digest to verify the download. This ensures that all required plugin dependencies are available and loaded correctly at build time.
TODO Needs review - AI Generated content