Log if no class paths was found for plugin (#5154)

Co-authored-by: Jon Sten <jons@axis.com>
This commit is contained in:
JonandJon Sten authored and GitHub committed 2021-01-18 16:06:18 +00:00
1 parent e40ac3ffa9
commit f0fc1b8389
1 file changed
+3
@@ -221,6 +221,9 @@ public class ClassicPluginStrategy implements PluginStrategy {
if (disableFile.exists()) {
LOGGER.info("Plugin " + archive.getName() + " is disabled");
}
if (paths.isEmpty()) {
LOGGER.info("No classpaths found for plugin " + archive.getName());
}
// compute dependencies
List<PluginWrapper.Dependency> dependencies = new ArrayList<>();