zoukankan      html  css  js  c++  java
  • mvn archetyoe:generate -DarchetypeCatalog=internal

    1. 可以使用 $mvn archetype:generate -DarchetypeCatalog=internal  
    2. archetypeCatalog表示插件使用的archetype元数据,默认值为remote,local,即中央仓库archetype元数据(http://repo1.maven.org/maven2/archetype-catalog.xml)加上插件内置元数据的和  
    3. 由于中央仓库的archetype太多,导致这个列表太长  
    4. 因此自己指定仅用内置元数据(20个左右,好像),就可以解决你的烦恼了

    So far, I've gathered this list of repositories that do publish catalogs, but would love to see if anyone knows of more:

    mvn archetype:generate
    -DarchetypeCatalog=local
    -DarchetypeCatalog=remote
    -DarchetypeCatalog=http://repo.fusesource.com/maven2
    -DarchetypeCatalog=http://cocoon.apache.org
    -DarchetypeCatalog=http://download.java.net/maven/2
    -DarchetypeCatalog=http://myfaces.apache.org
    -DarchetypeCatalog=http://tapestry.formos.com/maven-repository
    -DarchetypeCatalog=http://scala-tools.org
    -DarchetypeCatalog=http://www.terracotta.org/download/reflector/maven2/

    Links to same: 1) FuseSource 2) Cocoon 3) Java.net 4) MyFaces 5) Tapestry 6) Scala Catalog 7) Terracotta Catalog

  • 相关阅读:
    Python超级篇-机器学习
    python高给篇-爬虫
    机器学习之-sklearn
    luogu3384 【模板】树链剖分
    bzoj3884 上帝与集合的正确用法
    luogu2765 魔术球问题
    poj2976 Dropping tests 01分数规划
    luogu2764 最小路径覆盖问题
    luogu2763 试题库问题
    luogu2762 太空飞行计划问题
  • 原文地址:https://www.cnblogs.com/welhzh/p/4466361.html
Copyright © 2011-2022 走看看