Pom xml file update to make the ApAM version upgrade easier and Warning
deletion fot prevent from compiling errors.