This is a small example of a standalone Java CLI application and a custom s2i assemble script to build (and run) it.