-
Task
-
Resolution: Cannot Reproduce
-
Minor
-
None
- A plugin can declare a dependency as optional, so it's not taken into account when installing the plugin.
- In a test, that optional dependency can be required through @WithPlugins annotation.
- That is making the plugin to be installed but not necessarily before the plugin with the dependency, which can make some extension points not to be functional.
- In some occasions, that is making some tests to fail as there is no installation error (as the dependency is optional) and a restart is not therefore required.
- Thus: if a plugin has an optional dependency that is marked as required, that dependency needs to be installed before the plugin itself.