【问题标题】:How to update rich-faces library version?如何更新富面孔库版本?
【发布时间】:2014-10-09 10:47:29
【问题描述】:

在我的maven-project里面有三个依赖对应RichFaces:

<dependency>
    <groupId>org.richfaces.framework</groupId>
    <artifactId>richfaces-api</artifactId>
</dependency>
<dependency>
    <groupId>org.richfaces.framework</groupId>
    <artifactId>richfaces-impl</artifactId>
</dependency>
<dependency>
    <groupId>org.richfaces.ui</groupId>
    <artifactId>richfaces-ui</artifactId>
</dependency>

在我的 Eclipse 项目 MavenDependencies 分支的根目录中包含richfaces-api/ui/core -3.3.3。如何更改 pom 以上传最新的可用版本?问题是在pom 的任何地方都没有定义任何版本。

【问题讨论】:

    标签: java eclipse maven richfaces


    【解决方案1】:

    必须定义一个版本,否则它将无法工作。如果将鼠标悬停在依赖项上,Eclipse 会告诉您正在使用的版本以及在哪里可以找到定义。

    【讨论】:

      【解决方案2】:

      我认为你的 pom 中存在 bom 依赖项,例如这个

                    <dependency>  
                      <groupId>org.richfaces</groupId>  
                      <artifactId>richfaces-bom</artifactId>  
                      <version>BOM-VERSION</version>  
                      <scope>import</scope>  
                      <type>pom</type>  
                  </dependency> 
      

      将 BOM-VERSION 部分更新为新内容,例如“4.3.7.Final”。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2011-10-28
        • 2016-05-11
        • 2011-07-27
        • 2011-01-28
        • 1970-01-01
        • 2023-04-08
        • 1970-01-01
        • 2017-04-26
        相关资源
        最近更新 更多