/primefaces-test

Sample project to provide test cases

Primary LanguageJava

PrimeFaces icon

PrimeFaces Test

This is a sample maven project that uses Latest PrimeFaces Release version. If you have a PrimeFaces issue, please download or fork this project. Then, you should change these files by yourself so that PrimeFaces Team can see your problem. Finally, you can send a link or attach the project. Please make sure that project is runnable with the command below.

You can execute the sample with mvn jetty:run command and hit http://localhost:8080/primefaces-test to run the page.

JSF Versions


Per default the application uses Mojarra 2.2.x. You can also use other versions with the available maven profiles: myfaces22, myfaces23, myfaces23next, mojarra23

mvn clean jetty:run -Pmyfaces22

mvn clean jetty:run -Pmyfaces23

mvn clean jetty:run -Pmyfaces23next

mvn clean jetty:run -Pmojarra22

mvn clean jetty:run -Pmojarra23

Server Port


By default the application runs on port 8080 but if you would like to use a different port you can pass -Djetty.port=5000 like:

mvn clean jetty:run -Djetty.port=5000