Tuning the pom.xml and fixing a test for trigger resize