Eddie, I think that you know Starfleet is a military organization but you enjoy the debate.
the US Border Patrol has military grade weapons but does not fight in US wars. it is not military.
Starfleet has military grade weapons. they fight in the Federation's Wars. in fact they seem to fight all the Federation's Wars. they are military.