Eddie, I think that you know Starfleet is a military organization but you enjoy the debate.
I think I know that Starfleet is NOT a military organization and the fact that the Federation hasn't converted it into one is odd, but understandable from an in-universe perspective. It's also not something I expected to still be an issue in Abrams trek -- which I initially believed WAS a military organization -- but Scotty had his say, and there we are.
the US Border Patrol has military grade weapons but does not fight in US wars. it is not military.
The next time the U.S. gets invaded by someone, I suggest you try to convince the border patrol that fighting America's enemies isn't actually their job.
Although that sort of brings up an interesting question: did the Federation actually DECLARE WAR on the Dominion?