【问题标题】:Cannot download push-server dependency from icefaces or ibiblio repos无法从 icefaces 或 ibiblio repos 下载推送服务器依赖项
【发布时间】:2011-09-20 11:59:20
【问题描述】:

依赖推送服务器存在于icefaces和ibiblio repos中

http://anonsvn.icefaces.org/repo/maven2/releases/org/icefaces/push-server/ http://mirrors.ibiblio.org/pub/mirrors/maven2/org/icefaces/push-server/

两个 repos 都添加到我的 pom 文件中

遵循此参考:

http://mvnrepository.com/artifact/org.icefaces/push-server/1.8.2

我在我的 pom 文件中添加了依赖项:

<dependency>
    <groupId>org.icefaces</groupId>
    <artifactId>push-server</artifactId>
    <version>1.8.1</version>
</dependency>

但是当尝试使用 maven 2 安装应用程序时,我总是遇到构建失败,并且缺少对这个工件的依赖,但我可以从这里轻松下载其他工件:

http://anonsvn.icefaces.org/repo/maven2/releases/org/icefaces/

那么问题是什么?

【问题讨论】:

    标签: maven-2 maven icefaces pom.xml


    【解决方案1】:

    我认为它是类型,您正在尝试下载战争,如果您不指定类型,则默认为 jar,只需添加它应该可以解决您的问题的类型

    <dependency>
      <groupId>org.icefaces</groupId>
      <artifactId>push-server</artifactId>
      <version>1.8.1</version>
      <type>war</type>
     </dependency>
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2020-03-28
      • 2013-05-22
      • 2020-07-06
      • 1970-01-01
      • 1970-01-01
      • 2021-03-09
      • 2011-12-01
      相关资源
      最近更新 更多