You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Lukasz Lenart <lu...@apache.org> on 2019/11/03 15:02:56 UTC

Archetypes: problem updating local catalog

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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org