The practice of military exercises is the sole or principal occupation of the soldiers of a standing army, and the maintenance or pay which the state affords them is the principal and ordinary fund of their subsistence.