What's the difference between mvn archetype:generate and mvn archetype:create

前端 未结 2 1451
温柔的废话
温柔的废话 2021-02-13 04:38

any difference between those two?

2条回答
  •  滥情空心
    2021-02-13 04:57

    Check the documentation for archetype generate, create has been kept for backwards compatibility:

    For backward compatibility with the Archetype Plugin version 1.0-alpha-7, we kept the old create goal which can be called using mvn archetype:create.

    So create and generate will do the same thing but create has been deprecated so you should use the generate command instead.

提交回复
热议问题