private List<String> getManifestClassPath() throws IOException {
    JarFile geodeDependencies =
        new JarFile(
            new File(System.getProperty("test.buildDirectory"),
                "libs/geode-server-all-" + System.getProperty("test.buildVersion") + ".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-server-all/src/integrationTest/java/org/apache/geode/GeodeServerAllJarIntegrationTest.java