m2eclipse加载remote archetype-catalog.xml时提示"Remote catalog is empty"
发现在添加remote地址时,m2eclipse插件(版本0.12.1)会出现 "Remote catalog is empty" 提示,导致找不到对应的工程模板
解决办法:
将archetype-catelog.xml保存到本地,然后在eclipse中添加为local catalog
或
直接运行命令
"mvn archetype:generate -DarchetypeCatalog=http://svn.corp.qunar.com:8081/nexus/content/repositories/releases/archetype-catalog.xml"
mvn eclipse:eclipse后,再手工导入eclipse