简体   繁体   中英

How to update rich-faces library version?

In my maven-project there are three dependencies corresponding to 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 . How can I change the pom to upload latest available version? The thing is there is no version defined anywhere in the 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.

I Think there's a bom dependency somehwere in your pom such as this

              <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".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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