1. Germany is a democracy and therefore unable to launch an attack, only rubber stamp parliaments in autocracies vote to got to war.
2. the EU is a purely economic association with "no", repeat "no", military decision making
3. the NATO is a military alliance which is purely "defensive", repeat "defensive" and needs the vote of every member state for every important decision. Some NATO member states (such as the US and the UK) attacked Iraq but other member states (such as France and Germany) refused to join because it was an "attack" and not a "defense"