The Israeli military says the aircraft hit a group of militants who had just fired mortars into southern Israel .