使用maven-archetype-plugin:2.0-alpha-5:create-from-project 创建自己的原型出现异常

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-5:create-from-project (default-cli) on pr

oject test.ws: ${maven.home} is not specified as a directory: 'D:\eclipse workspace\test\test.ws\EMBEDDED'. -> [Help 1]


把Eclipse的maven插件自带的maven换成系统的maven就可以了,问题到底在archetype插件还是Eclipse得maven插件就不追究了。


你可能感兴趣的:(apache,eclipse,maven)