Re: Scotty and his military comment
By definition a military is the armed forces of a sovereign entity. Since Starfleet fights in its battles and defends its citizens they are a military. What a state or government does with its military is entirely up to that entity. How Switzerland organizes and utilizes its military can be entirely different than the Russian military's purpose.
If Starfleet isn't the Federation military, then who is?
"If we're going to be damned, let's be damned for what we really are." - Jean-Luc Picard, "Encounter at Farpoint"