简体   繁体   English

如何更新人脸库版本?

[英]How to update rich-faces library version?

In my maven-project there are three dependencies corresponding to RichFaces : 在我的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>

And in the root of my eclipse project MavenDependencies branch contains richfaces-api/ui/core -3.3.3 . 在我的Eclipse项目的根目录中,MavenDependencies分支包含richfaces-api/ui/core -3.3.3 How can I change the pom to upload latest available version? 如何更改pom以上传最新的可用版本? The thing is there is no version defined anywhere in the pom . 关键是pom没有定义任何版本。

There has to be a version defined otherwise it would not work. 必须定义一个版本,否则它将不起作用。 Eclipse will tell you what version you're using and where to find the definition if you hover over the dependency. 如果将鼠标悬停在依赖项上,Eclipse将告诉您正在使用的版本以及在何处可以找到定义。

I Think there's a bom dependency somehwere in your pom such as this 我认为您的pom中有些像这样的bom依赖项

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

Update the BOM-VERSION part to something new such as "4.3.7.Final". 将BOM-VERSION部分更新为新的内容,例如“ 4.3.7.Final”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM