Changing packaging from jar to war