private void createExtensionDirectory ( String coordinate , File atLocation ) { if ( atLocation . isDirectory ( ) ) { log . info ( "Directory [%s] already exists, skipping creating a directory" , atLocation . getAbsolutePath ( ) ) ; return ; } if ( ! atLocation . mkdir ( ) ) { throw new ISE ( "Unable to create directory at [%s] for coordinate [%s]" , atLocation . getAbsolutePath ( ) , coordinate ) ; } }
Create the extension directory for a specific maven coordinate . The name of this directory should be the artifactId in the coordinate