add support for building as deployable jar file