A Jordanian military court has sentenced to jail 10 Islamic militants for plotting attacks on U.S. forces in Jordan and Iraq .