Aside from the archetypes included by default, we can also create our own custom archetype. In this section, we will learn how to do that.
An archetype consists of the following files:
App.javato be in the source directory, then this is where we specify that.
pom.xml:Each archetype is also treated like a regular Maven project. In fact, they are just a JAR with resources in a special place.
src/main/java/... directory layout created by the Maven Quickstart Archetype earlier). ...