下午使用Maven创建工程,使用mvn archetype:generate命令,选择了编号2,结果报错:The defined artifact is not an archetype。后来完整的写下了命令,成功生成了工程。
命令如下:
- mvnarchetype:create-DarchetypeGroupId=org.appfuse-DarchetypeArtifactId=appfuse-modular-spring-DremoteRepositories=http://static.appfuse.org/repository-DarchetypeVersion=2.0-m5-DgroupId=com.seraph.xxx-DartifactId=xxx
本文记录了使用Maven创建工程过程中遇到的问题及解决方法。当使用mvn archetype:generate命令并选择编号2时出现错误提示,通过完整输入命令解决了问题。

3416

被折叠的 条评论
为什么被折叠?



