protected File createWorkDir(File pluginArtifactFile) throws IOException {
        File tempDir = File.createTempFile(pluginArtifactFile.getName(), "");
        tempDir.delete();
        tempDir.mkdirs();
        return tempDir;
    }
Creates a work directory into which various resources discovered in the plugin
artifact can be extracted.
@param pluginArtifactFile plugin artifact
@throws IOException if an I/O error has occurred
common/plugin/src/main/java/io/apiman/common/plugin/PluginClassLoader.java