【发布时间】:2011-06-09 06:32:35
【问题描述】:
我正在尝试使用ear-jee5 作为原型创建一个EAR maven 模块项目(在eclipse 中)。它失败并出现以下错误。
Could not resolve archetype org.codehaus.mojo.archetypes:ear-jee5:1.3 from any of the configured repositories.
Could not resolve artifact
Missing org.codehaus.mojo.archetypes:ear-jee5:pom:1.3
有人可以帮我解决这个错误或告诉我另一种方法来为 Maven EAR 模块创建项目结构吗?
谢谢。
【问题讨论】:
-
您是否能够创建 任何 maven 原型,或者那个特定的原型失败了?
-
看来问题出在办公室的防火墙上。添加未被防火墙阻止的镜像解决了这个问题。
标签: maven ear java-ee-5 maven-archetype