Added exclusions to common/pom.xml and server-webapp/pom.xml.