maven-archetype
maven-archetype copied to clipboard
[ARCHETYPE-495] rename ArchetypeGenerator.generateArchetype() to ProjectGenerator.generateProject()
Hervé Boutemy opened ARCHETYPE-495 and commented
ArchetypeGenerator.generateArchetype() is really misleading: it's not about generating an archetype, but about generating a project from an archetype
this API cause strong confusion in the archetype lifecycle: sample project -> archetype project -> archetype artifact -> generated project
Affects: 2.4
2 votes, 3 watchers
Hervé Boutemy commented
for such internal API, no strong strategy: the only question is to know if this could cause an issue for an IDE plugin, for example and even for that, I suppose we could add a deprecated class extending the new one to mimic the old API