code: private void copySoapuiJar(File sourceDirectory, File destinationDirectory) throws IOException {
          getLog().info("Copying soapui jar to " + destinationDirectory);
          File[] mainJars = sourceDirectory.listFiles(new FilenameFilter() {
              @Override
              public boolean accept(File dir, String name) {
                  if (name.toLowerCase().startsWith("soapui") && name.toLowerCase().endsWith(".jar"))
                      return true;
                  return false;
              }
          });
  
          if (mainJars.length == 0) {
              throw new RuntimeException("Unable to found a soapui jar in " + sourceDirectory);
          }
          File soapuiSourceJar = mainJars[0];
          FileUtils.copyFileToDirectory(soapuiSourceJar, destinationDirectory);
          getLog().info("Copy done");
      }
docs: highly inspired by MockAsWar#prepareWarFile