German pledge for military spending