(long tweet) Increase choice with mvn archetype:generate
By default, mvn archetype:generate offers
~50 template projects. How to offer more templates?
Actually, Maven bases itself on a archetype-catalog.xml
file, in Maven’s local repository. Updating this file is possible, by mvn archetype:crawl
(and/or archetype:update-local-catalog
?).
Anyway, Maven can base on a remote repository, using archetypeCatalog
, such as:
mvn archetype:generate -DarchetypeCatalog=http://download.java.net/maven/2
You can hint at the remote repository available in settings.xml
file, for instance.