`
lean1252
  • 浏览: 216879 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

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
分享到:
评论

相关推荐

    archetype-catalog.xml

    当你在IntelliJ IDEA(简称IDEA)中创建一个新的Maven项目并选择“从Archetype创建”时,IDEA会尝试下载这个`archetype-catalog.xml`文件来获取可用的项目模板列表。如果你遇到“Download plugins for”卡住的问题,...

    archetype-catalog.xml(2019-4-3更新)

    archetype-catalog.xml

    maven archetype-catalog.xml 下载

    `maven archetype-catalog.xml` 是 Maven 构建工具中一个重要的配置文件,它用于定义和组织 Maven 骨架(Archetype)的目录。在 Maven 中,骨架是一种模板,可以快速创建一个新的 Maven 项目结构,帮助开发者按照...

    maven_archetype-catalog.zip

    加载archetype-catalog.xml到Eclipse的过程并不复杂。首先,我们需要解压"maven_archetype-catalog.zip",然后在Eclipse的Maven设置中,找到"Archetypes"选项,点击"Add Archetype Catalog",选择本地的"archetype-...

    archetype-catalog.xml-最新

    2019-11-30 最新archetype-catalog.xml文件,解决maven新建项目慢。将archetype-catalog.xml拷贝到本地仓库下。 解决Archetype not found in any catalog 解决No archetype found in remote catalog

    Maven 项目模板archetype-catalog.xml

    《Maven项目模板archetype-catalog.xml详解》 在软件开发过程中,为了提高效率和保持代码规范性,开发者经常使用构建工具,其中Maven是Java领域广泛应用的一个。Maven不仅管理项目的依赖,还提供了一种叫做项目对象...

    Eclipse archetype-catalog.xml.zip

    当我们谈论"Eclipse archetype-catalog.xml.zip"时,我们实际上是在讨论一个包含了archetype-catalog.xml文件的压缩包,这个文件通常用于列出所有可用的Maven Archetypes。 首先,我们需要了解archetype-catalog....

    java maven archetype-catalog.xml

    4. 重启终端或IDE,然后再次运行`mvn archetype:generate`,Maven将从本地加载archetype-catalog.xml,从而提高速度。 通过这种方式,你可以避免因网络问题导致的延迟,快速地创建基于Maven的Java项目。压缩包子...

Global site tag (gtag.js) - Google Analytics