Issue
I added the below depdencies in my pom
<dependency>
<artifactId>richfaces-api</artifactId>
<groupId>org.richfaces.framework</groupId>
<version>3.3.3.Final</version>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-ui</artifactId>
<version>3.3.3.Final</version>
</dependency>
<dependency>
<artifactId>richfaces-impl</artifactId>
<groupId>org.richfaces.framework</groupId>
<version>3.3.3.Final</version>
</dependency>
When I did mvn clean install in command prompt , these dependency jars got downloaded. However in Eclipse this is not showing under referenced libraries section. The other jar files that are part of dependencies are showing up though. Is there anything that I must do for this to get reflected? Thanks.
Solution
This depends on how you have integrated Maven in Eclipse:
- No Eclipse integration: run
mvn eclipse:eclipse
on command line to refresh the project definition. - M2Eclipse or m2e: Update the POM file (select, press F5), then right-click the project, Maven > Update Dependencies
This should fix it.
Answered By - nwinkler