Creating an archetype from an existing project

If you are creating a cloud of microservices or are in an environment where you have to generate multiple maven projects or modules, it is very useful to create archetypes to handle these new modules/projects creation. What is an archetype? A Maven archetype is a templated project. Maven offers several archetypes that allow you to create new maven modules ready to run in few seconds. How to use a generic archetype? Archetype usage is quite simple. If you want to generate an archetype based on the default list, just run: ...

May 29, 2021 · 6 min · Tomás Dias Almeida