Minister vows to wage war on illegal mining