private static final File createTempPluginsDir() {
        // TODO log a warning here
        try {
            return Files.createTempDirectory("apiman-gateway-plugins-tmp").toFile();
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
Constructor.

@param pluginsDir         the plugins directory
@param pluginRepositories the plugin repositories
gateway/engine/core/src/main/java/io/apiman/gateway/engine/impl/DefaultPluginRegistry.java