Ukraine’s military, after the dissolution of the Soviet Union, had become a defensive force.