added more governance for java and scala builds