code: public File getKeyStoreFile( String keystore, File workingKeystore, ClassLoader classLoader )
              throws MojoExecutionException
      {
  
          File result;
  
          URI keystoreURI = null;
          try
          {
              keystoreURI = URI.create( keystore );
          }
          catch ( IllegalArgumentException e )
          {
              // Windows paths like C:\Users throw an IAE due to the '\'  
          }
  
          if ( keystoreURI == null || keystoreURI.getScheme() == null )
          {
  
              // consider it as a simple file
              result = new File( keystore );
          }
          else
          {
              // copy stream to working keystore
              result = workingKeystore;
  
              // make parent directory if required
              ioUtil.makeDirectoryIfNecessary( result.getParentFile() );
  
              // copy keystore  to workingKeystore
              ioUtil.copyResources( keystoreURI, classLoader, result );
          }
          return result;
      }
docs: {@inheritDoc}