With this command you can create an Archetype from your existing project:
mvn archetype:create-from-project
I know things and I build stuff
With this command you can create an Archetype from your existing project:
mvn archetype:create-from-project
That command will generate this folder structure in your project root: “target/generated-sources/archetype”. Under the “archetype” folder is the generated archetype.