These discussions have led to theories of just war, theories of reasonable self-defence and theories of proportionate punishment.
The precepts of Ahimsa under Hinduism require that war must be avoided, with sincere and truthful dialogue. If war becomes necessary, its cause must be just, its purpose virtuous, its objective to restrain the wicked, its aim peace, its method lawful. Wounded, unarmed opponent warriors must not be attacked or killed, they must be brought to your realm and given medical treatment.
The historic literature from India and modern discussions have contributed to theories of Just War, and theories of appropriate self-defence.
There is a debate on the origins of the word Ahimsa, and how its meaning evolved.
Others scholar state that this relationship is speculative, and though Jainism is an ancient tradition the oldest traceable texts of Jainism tradition are from many centuries after the Vedic era ended.