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 .