Hi @Giuderos ,
You can generate a new project using the latest archetype forAEM 6.4.5 and then copy the ui.content in your code base. You will have to update the pom.xml as per your project version and dependency. Also, include this new content structure in your parent pom.xml.
Once this is done, You can package some sample pages that you want to include in the build and copy those pages in ui.content folder and also those required path in filter.xml file. Add any dependency it asks for.