This lesson introduces archetypes in Maven that can be used to generate templates for new projects that conform to the structure Maven expects and adheres to the best practices.

The word archetype is defined as a very typical example of a certain person or thing, or an original pattern or model from which all other things of the same kind are made. In Maven, Archetype is a project templating toolkit. Using the archetype mechanism, an author can create Maven project templates for users, and provide them with the means to generate parameterized versions of those project templates. Developers can quickly create and start working with new projects that are already set up with best practices and standards.

Get hands-on with 1200+ tech skills courses.