其他分享
首页 > 其他分享> > Eclipse 新建 Maven项目太慢了

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>


标签:sample,contains,Eclipse,Maven,maven,org,archetype,太慢
来源: https://www.cnblogs.com/saltish/p/16586647.html