maven-archetype icon indicating copy to clipboard operation
maven-archetype copied to clipboard

[ARCHETYPE-495] rename ArchetypeGenerator.generateArchetype() to ProjectGenerator.generateProject()

Open jira-importer opened this issue 9 years ago • 2 comments

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

jira-importer avatar Jan 09 '16 14:01 jira-importer

Elliotte Rusty Harold commented

What are our rules about incompatible API changes?

jira-importer avatar Dec 16 '19 12:12 jira-importer

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

jira-importer avatar Dec 16 '19 18:12 jira-importer