private List<String> getManifestClassPath() throws IOException {
    File geodeHomeDirectory = new File(GEODE_HOME);
    assertThat(geodeHomeDirectory)
        .describedAs(
            "Please set the GEODE_HOME environment variable to the product installation directory.")
        .isDirectory();

    JarFile geodeDependencies =
        new JarFile(new File(geodeHomeDirectory, "lib/gfsh-dependencies.jar"));

    Manifest geodeDependenciesManifest = geodeDependencies.getManifest();

    String classpath = geodeDependenciesManifest.getMainAttributes().getValue("Class-Path");

    return Arrays.stream(classpath.split(" "))
        .map(entry -> entry.contains("geode")
            ? entry.replaceFirst("\\d+\\.\\d+\\.\\d+(-build\\.\\d+)?", "0.0.0") : entry)
        .collect(Collectors.toList());
  }
Find all of the jars bundled with the project. Key is the name of the jar, value is the path.
geode-assembly/src/integrationTest/java/org/apache/geode/GfshDependencyJarIntegrationTest.java