What archetype to choose for a simple java project

Jason picture Jason · Aug 23, 2011 · Viewed 60.2k times · Source

mvn archetype:generate provides way too many options and I am looking to create a simple java utility with junit test cases. I would like to know what archetype I should be using here?

Answer

Oleksandr picture Oleksandr · Aug 23, 2011

I use two archetypes. It depends on what kind of application you will create.

If you want a web application, use maven-archetype-webapp, or if you want a simple application use maven-archetype-quickstart. They are useful because you will be able to expand them with no problem.