The church has no general stance on war, and no official stance on capital punishment. It's so they can judge wars on a case-by-case basis, and acknowledge without necessarily sanctioning nations' rights to execute criminals. The last couple of popes have happened to be anti-capital punishment and at least generally anti-war, but those were their opinions, not anything officially purported by the doctrine of the church.
no subject