public static int extractVersionFromFilename(final String filename) {
    final Matcher matcher = DEPLOYED_FILE_PATTERN.matcher(filename);
    if (matcher.find()) {
      return Integer.parseInt(matcher.group(2));
    } else {
      return 0;
    }
  }
Find the version number that's embedded in the name of this file

@param filename Filename to get the version number from
@return The version number embedded in the filename
geode-management/src/main/java/org/apache/geode/management/internal/utils/JarFileUtils.java