微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Eclipse 新建 Maven项目太慢了

免费的maven的archetype-catalog.xml文件下载

http://repo1.maven.org/maven2/archetype-catalog.xml

链接https://pan.baidu.com/s/1HaBh-Xiq2BnxIvZYJZl_xA
提取码:0lnx

hwenlong提供的9.5M版本
链接https://pan.baidu.com/s/1zeOE_bSzRb330pothxth6Q
提取码:trug

配置本地catalog

精简版,新建 local-archetype-catalog.xml文件添加到 Eclipse里,disable其他Archetype catalog

<?xml version="1.0" encoding="UTF-8"?>
<archetype-catalog>
  <archetypes>
	<archetype>
      <groupId>org.apache.maven.archetypes</groupId>
      <artifactId>maven-archetype-archetype</artifactId>
      <version>1.0</version>
      <description>An archetype which contains a sample archetype.</description>
    </archetype>
    <archetype>
      <groupId>org.apache.maven.archetypes</groupId>
      <artifactId>maven-archetype-j2ee-simple</artifactId>
      <version>1.0</version>
      <description>An archetype which contains a simplifed sample J2EE application.</description>
    </archetype>
    <archetype>
      <groupId>org.apache.maven.archetypes</groupId>
      <artifactId>maven-archetype-mojo</artifactId>
      <version>1.0</version>
      <description>An archetype which contains a sample a sample Maven plugin.</description>
    </archetype>
    <archetype>
      <groupId>org.apache.maven.archetypes</groupId>
      <artifactId>maven-archetype-plugin</artifactId>
      <version>1.2</version>
      <description>An archetype which contains a sample Maven plugin.</description>
    </archetype>
    <archetype>
      <groupId>org.apache.maven.archetypes</groupId>
      <artifactId>maven-archetype-plugin-site</artifactId>
      <version>1.1</version>
      <description>An archetype which contains a sample Maven plugin site. This archetype can be layered upon an existing Maven plugin project.</description>
    </archetype>
    <archetype>
      <groupId>org.apache.maven.archetypes</groupId>
      <artifactId>maven-archetype-plugin-site</artifactId>
      <version>1.0</version>
      <description>An archetype which contains a sample Maven plugin site. This archetype can be layered upon an
    existing Maven plugin project.</description>
    </archetype>
    <archetype>
      <groupId>org.apache.maven.archetypes</groupId>
      <artifactId>maven-archetype-portlet</artifactId>
      <version>1.0</version>
      <description>An archetype which contains a sample JSR-268 Portlet.</description>
    </archetype>
    <archetype>
      <groupId>org.apache.maven.archetypes</groupId>
      <artifactId>maven-archetype-quickstart</artifactId>
      <version>1.1</version>
      <description>An archetype which contains a sample Maven project.</description>
    </archetype>
    <archetype>
      <groupId>org.apache.maven.archetypes</groupId>
      <artifactId>maven-archetype-quickstart</artifactId>
      <version>1.0</version>
      <description>An archetype which contains a sample Maven project.</description>
    </archetype>
    <archetype>
      <groupId>org.apache.maven.archetypes</groupId>
      <artifactId>maven-archetype-site</artifactId>
      <version>1.1</version>
      <description>An archetype which contains a sample Maven site which demonstrates some of the supported document types like
    APT, XDoc, and FML and demonstrates how to i18n your site. This archetype can be layered
    upon an existing Maven project.</description>
    </archetype>
    <archetype>
      <groupId>org.apache.maven.archetypes</groupId>
      <artifactId>maven-archetype-site</artifactId>
      <version>1.0</version>
      <description>An archetype which contains a sample Maven site which demonstrates some of the supported document types like
    APT, XDoc, and FML and demonstrates how to i18n your site. This archetype can be layered 
    upon an existing Maven project.</description>
    </archetype>
    <archetype>
      <groupId>org.apache.maven.archetypes</groupId>
      <artifactId>maven-archetype-webapp</artifactId>
      <version>1.0</version>
      <description>An archetype which contains a sample Maven Webapp project.</description>
    </archetype>
  </archetypes>
</archetype-catalog>


版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐