add war and ear