首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

struts2-archetype-blank 无法从默认远程仓库上载

2012-10-21 
struts2-archetype-blank 无法从默认远程仓库下载最近终于有空,于是开始看看struts2的doc,使用maven2来弄

struts2-archetype-blank 无法从默认远程仓库下载

最近终于有空,于是开始看看struts2的doc,使用maven2来弄个struts2-achetype-blank,结果按照文档的命令是行不通的,因为默认的远程仓库根本就不存在struts2-achetype-blank,于是稍微改了下远程仓库,终于可以运行

?

mvn archetype:generate -B -DgroupId=cn.qiuxy.struts2 -DartifactId=struts2-arachetype-blank -DarchetypeGroupId=org.apache.struts -DarchetypeArtifactId=struts2-archetype-blank -DarchetypeVersion=2.1.8 -DarchetypeRepository=http://www.lenart.org.pl/maven

?

热点排行