Setting up and configuring PrimeFaces
PrimeFaces is a lightweight single library with minimal external libraries. The only external libraries required are those with component-specific features. Apart from these component-specific features, projects only require JSF runtime implementations such as Oracle Mojarra or Apache MyFaces.
The setup and configuration for Maven and non-Maven users is explained in the following two sections.
Setting up and configuring using Maven
In this section, we will define the various Maven configuration steps required to run a PrimeFaces-based application. Perform the following steps:
- Configure the PrimeFaces library dependency or Maven coordinates in your project
pom.xmlfile as shown here:
<dependency> <groupId>org.primefaces</groupId> ...