public static void main(String... args) {
		Gson parser = gsonb.create();
		IntegrationInput input = parser.fromJson(new InputStreamReader(System.in), IntegrationInput.class);
		ClassLoader old = Thread.currentThread().getContextClassLoader();
		PrintStream oldout = System.out;
		Util.setVerbose(input.verbose);
		String output = "";
		boolean ok = false;
		try {
			URLClassLoader integrationCl = getClassLoader(input.dependencies.values());
			Thread.currentThread().setContextClassLoader(integrationCl);
			IntegrationResult result = runIntegrationEmbedded(input, integrationCl);
			output = parser.toJson(result);
			ok = true;
		} catch (ClassNotFoundException e) {
			output = "Unable to load integration class";
		} catch (NoSuchMethodException e) {
			output = "Integration class missing method with signature public static Map<String, byte[]> postBuild(Path classesDir, Path pomFile, List<Map.Entry<String, Path>> dependencies)";
		} catch (Exception e) {
			output = "Issue running postBuild()";
			if (input.verbose) {
				e.printStackTrace(System.err);
			}
		} finally {
			Thread.currentThread().setContextClassLoader(old);
			System.setOut(oldout);
		}
		System.out.println(output);
		System.exit(ok ? 0 : 1);
	}
Discovers all integration points and runs them.
<p>
If an integration point created a native image it returns the resulting
image.
src/main/java/dev/jbang/spi/IntegrationManager.java