diff --git a/topics/basics/getting_started/publishing_plugin.md b/topics/basics/getting_started/publishing_plugin.md index 7276d82c8..3f3e13cff 100644 --- a/topics/basics/getting_started/publishing_plugin.md +++ b/topics/basics/getting_started/publishing_plugin.md @@ -11,6 +11,11 @@ See also [](marketing.md) about widgets and badges. > If you plan to publish your plugin to a repository _other than_ the [JetBrains Marketplace](https://plugins.jetbrains.com), please refer to the [](custom_plugin_repository.md) documentation. +> If your plugin ships with [additional libraries](plugin_content.md#plugin-with-dependencies), do not repackage them into the main plugin archive. +> Otherwise, [Plugin Verifier](verifying_plugin_compatibility.md) will yield false positives for unresolved classes and methods. +> +{type="warning"} + ## Uploading a Plugin to JetBrains Marketplace Before publishing your plugin, make sure it is signed. diff --git a/topics/basics/plugin_structure/plugin_content.md b/topics/basics/plugin_structure/plugin_content.md index 26d1fc702..bbdce40ed 100644 --- a/topics/basics/plugin_structure/plugin_content.md +++ b/topics/basics/plugin_structure/plugin_content.md @@ -30,6 +30,11 @@ The plugin .jar file is placed in the /lib folder unde All jars from the /lib folder are automatically added to the classpath (see also [Plugin Class Loaders](plugin_class_loaders.md)). +> Do not repackage libraries into the main plugin archive (sample.jar in the sample below). +> Otherwise, [Plugin Verifier](verifying_plugin_compatibility.md) will yield false positives for unresolved classes and methods. +> +{type="warning"} + ```text .IntelliJIDEAx0/ └── plugins