[AEM-912] Change pom. Add an interface in order to reduce duplicated code in platform side. Add SitemapType enum.