Add dependencies and classes to convert a jar to war.