Two men have pleaded guilty to sending confidential military information to China as agents of a Louisville-based company, according to court records.