add java sources to targets