I'm looking for a guide on how to create new maven archetypes that involve using parameters to create directories and file names where the parameters are used as prefixes in the file names and part of the package structure/directories that are created by the archetype.
All I can find is very simple instructions on how to make very simple projects.
If you want a web application, use maven-archetype-webapp, or if you want a simple application use maven-archetype-quickstart.
To create a new project based on an Archetype, you need to call mvn archetype:generate goal, like the following: mvn archetype:generate.
Maven Archetype 3.2. This is the current stable version of Maven Archetype.
why not use the maven website itself?
http://maven.apache.org/guides/mini/guide-creating-archetypes.html
I think I found the a site that helps me a little more once I figured out that Velocity templates are used as part of the archetype processes.
HowToCreateMavenArchetypeFromProject
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With