What archetype to choose for a simple java project
I'm using command like below:
mvn archetype:generate -Dfilter=org.apache.maven.archetypes:
I will get a short list of achetypes only from org.apache.maven.archetypes
groupId. The good ones for starting is maven-archetype-quickstart
and maven-archetype-webapp
like my predecessors said.
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.