'Build the Spinnaker packages as jars'

def build_jars(self):

    subsystems = ['halyard']
    if self.__options.do_jar_build:
        weighted_processes = (self.__options.cpu_ratio * multiprocessing.cpu_count())
        pool = multiprocessing.pool.ThreadPool(processes=int(max(1, weighted_processes)))
        pool.map(self.__do_jar_build, subsystems)
    self.__check_build_failures(subsystems)
