Three men who played roles in a “gangland war” against a gangland boss have been jailed for a total of 25 years.