Archetypes: problem updating local catalog

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Archetypes: problem updating local catalog

Lukasz Lenart
Hi,

I'm working on Struts Archetypes [1] and discovered that running:

  mvn clean install archetype:update-local-catalog

will create/update "~/.m2/repository/archetype-catalog.xml" but using command:

  mvn archetype:generate -DarchetypeCatalog=local

reads data from "~/.m2/archetype-catalog.xml" which doesn't exist.

Do I have to manually copy the file? Is it by design or maybe it's a bug?

[1] https://github.com/apache/struts-archetypes


Regards
Ɓukasz

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]