Working with PrimeFaces Extensions project resources
You can also build the PrimeFaces Extensions project resources directly from the source repositories. First, you need to clone all the PrimeFaces project resources as follows:
git clone git://github.com/primefaces-extensions/master-pom.git git clone git://github.com/primefaces-extensions/core.git git clone git://github.com/primefaces-extensions/resources-ckeditor.git git clone git://github.com/primefaces-extensions/resources-codemirror.git git clone git://github.com/primefaces-extensions/showcase.git
The master-pom
project should be built first as it contains the required dependencies for all the PrimeFaces Extensions projects. So, we have to build the projects in the order they are cloned in. All the projects are compiled and installed in the local repository with the help of the mvn clean install
command.
Now, we can run the showcase on the Jetty 8 server for both the implementations as follows:
The Maven run command for Oracle Mojarra showcase is as follows:
mvn jetty:run
The Maven run command for Apache MyFaces showcase is as follows:
mvn jetty:run -Pmyfaces
Access the PrimeFaces Extensions showcase components through the following localhost URL:
http://localhost:8080/primeext-showcase/