创建 原型 项目archetype
Looking through the?src/main/java?folder we see that all the packages from the original project are gone. This is because maven will add it back from the groupId or package variable when generating a new project. Anything from this root will still be retained in the new project. For example is the package is “com.luckyryan.sample” then webapp would become /src/main/java/com/luckyryan/sample/webapp. Anything under webapp with be stored respective to that folder.
After a quick look all seems to be in order so let’s look at the project options.
archetype-metadata.xml