migrating layout template to maven