- 浏览: 62004 次
- 性别:
- 来自: 青岛
文章分类
最新评论
用Eclipse + m2e 插件新建maven项目时发现archetype太少了,网上搜索如何添加额外的archetype.
http://maven.apache.org/archetype/maven-archetype-plugin/specification/archetype-catalog.html
The Archetype Plugin knows by default about its internal catalog. It also knows about the local and remote catalogs.
local represents the ~/.m2/archetype-catalog.xml catalog file.
remote represents the http://repo1.maven.org/maven2/archetype-catalog.xml catalog file.
The Archetype Plugin can also read catalogs from filesystem/HTTP by providing the path/URL of a catalog file or of a directory containing an archetype-catalog.xml file.
可以从上述网址下载 archetype-catalog.xml 另存为~/.m2/archetype-catalog.xml
再新建maven项目,发现Catalog为Default Local中有了很多的archetype。
参考:
http://www.cnblogs.com/wucg/p/3943872.html?utm_source=tuicool&utm_medium=referral
http://maven.apache.org/archetype/maven-archetype-plugin/specification/archetype-catalog.html
The Archetype Plugin knows by default about its internal catalog. It also knows about the local and remote catalogs.
local represents the ~/.m2/archetype-catalog.xml catalog file.
remote represents the http://repo1.maven.org/maven2/archetype-catalog.xml catalog file.
The Archetype Plugin can also read catalogs from filesystem/HTTP by providing the path/URL of a catalog file or of a directory containing an archetype-catalog.xml file.
可以从上述网址下载 archetype-catalog.xml 另存为~/.m2/archetype-catalog.xml
再新建maven项目,发现Catalog为Default Local中有了很多的archetype。
参考:
http://www.cnblogs.com/wucg/p/3943872.html?utm_source=tuicool&utm_medium=referral
发表评论
-
Tomcat启动报Error listenerStart错误
2017-07-17 10:29 621今天启动Tomcat启动不了,报以下错: org.apac ... -
如何在eclipse中修改jsp默认编码
2016-12-25 12:30 586第一步:打开eclipse,找到windows-->pr ... -
eclipse编码格式设置教程、如何为eclipse设置编码格式?
2016-12-25 12:23 550如果要使插件开发应用能有更好的国际化支持,能够最大程度的支持中 ... -
maven配置默认使用的JDK版本
2016-12-25 10:35 609在maven的默认配置中,对于jdk的配置是1.4版本,那么创 ... -
修改 IntelliJ IDEA 的默认文件编码
2016-12-21 00:09 1587有两种办法可以修改 IntelliJ IDEA 的文件编码(I ... -
The specified JRE installation does not exist
2016-12-19 22:32 1105window -->preferences --> ... -
maven插件资源
2016-12-04 21:05 451http://archive.apache.org/dist/ ... -
java的svn的使用
2016-11-30 20:03 598http://blog.csdn.net/world_ding ... -
Eclipse+Maven创建webapp项目
2016-11-26 10:45 620http://www.cnblogs.com/AloneSwo ... -
报Failed to load class "org.slf4j.impl.StaticLoggerBinder".
2016-11-26 09:40 1440[root@master ~]# /export/kafka ... -
Maven: 每次更新Maven Project ,JAVA 版本都变为1.5
2016-11-21 00:10 1622由于Maven默认编译环境是JAVA 1.5 ,所以我们需要在 ... -
maven的settings.xml配置详解
2016-11-06 21:41 640参考: http://blog.csdn.net/yiluoa ... -
maven
2016-11-06 21:37 433http://blog.csdn.net/yiluoak_47 ... -
Server Tomcat v6.0 Server at localhost was unable to start within 45 second
2016-10-18 08:33 605当启动tomcat时候出现 Server Tomcat v6. ... -
IntelliJ Idea 常用快捷键列表
2016-10-11 09:18 395Alt+回车 导入包,自动修正 Ctrl+N 查找类 Ct ... -
Windows 7 sometimes breaks FTP connections on Java 7 if firewall is enabled
2016-10-11 09:17 1119Windows 7 sometimes breaks FTP ... -
intellij idea 2015、2016破解方法
2016-10-10 13:08 1622在注册时Help—Register,选择 License se ... -
idea工具里面使用antrun
2016-10-11 09:14 393如上图方式 相当于maven的命令 mvn antru ... -
优秀的学习资源地址
2016-10-07 21:47 01 非常全的java资料 http://pan.baidu.c ... -
maven的生命周期
2016-10-10 13:09 457一 三套生命周期 1 compile 2 clean 3 si ...
相关推荐
maven-archetype-webapp-1.0.jar,下载,如果有需要的同志可以自己下载,。
maven_archetype maven的文件,有需要的就下載吧 壓縮格式為.7z檔
maven-archetype-quickstart-1.1.jar包下载
解决Unable to create project from archetype [org.apache.maven.archetypes:maven-archetype-quickstart:1.1] 1. 下载maven-archetype-quickstart-1.1.jar 文件地址: 2.cmd窗口执行mvn install:install-file -...
更新了配置jdk1.8,web.xml为4.0
NULL 博文链接:https://xiongjiajia.iteye.com/blog/2366437
idea用maven骨架创建项目速度慢,添加archetype-catalog.xml到本地仓库的文件夹后,设置-DarchetypeCatalog=local,就能使用maven默认的archetype-catalog.xml,再不用远程下载。
官网链接地址:http://repo1.maven.org/maven2/archetype-catalog.xml 百度云链接:https://pan.baidu.com/s/1dF8Qa9V 密码:37me
下载到本地的catalog配置文件,加载到eclipse会速度更快!!!解决使用Eclipse自带的Maven插件创建Web项目时报错
新建maven项目失败,不能下载maven-archetype-webapp-1.0.jar包
IDEA maven创建servlet3.1 webapp工程模版
1.maven-archetype-quickstart-1.1.jar 用于搭建maven模块项目 2.打开cmd窗口,执行mvn install:install-file -DgroupId=org.apache.maven.archetypes -DartifactId=maven-archetype-quickstart -Dversion=1.1 -...
Maven命令执行到Generating Project in Batch...下载下来复制到{你的本地仓库}/org/apache/maven/archetype/archetype-catalog/2.4 下面;然后在执行的命令后面增加参数-DarchetypeCatalog=local,变成读取本地文件即可
【在本地库中装载maven-archetype-quickstart】 1. 下载该文件 2. 打开cmd窗口,执行mvn install:install-file -DgroupId=org.apache.maven.archetypes -DartifactId=maven-archetype-quickstart -Dversion=1.1 -...
2.在下载包的目录执行:mvn install:install-file -DgroupId=org.apache.maven.archetypes -DartifactId=maven-archetype-webapp -Dversion=1.0 -Dpackaging=jar -Dfile=maven-archetype-webapp-1.0.jar
用maven命令mvn archetype:generate创建工程的时候,如果遇到明明本地仓库repository已经有相关jar,却报archetype错误,无法创建工程,很有可能是maven的插件archetype有问题。请下载此资源,替换掉.m2下USER_HOME/...
maven最新archetype-catalog.xml文件
解决maven-archetype-catalog下载慢的问题,将maven-archetype-catalog.xml放到本地,eclipse->preference->archetype->Add local catalog,选择本地文件,描述maven-archetype(自己命名的),apply,添加maven ...
主要介绍了eclipse maven maven-archetype-webapp 创建失败问题解决的相关资料,需要的朋友可以参考下
NULL 博文链接:https://singleant.iteye.com/blog/1470663