omnifaces / showcase

Web application showcasing the OmniFaces library
showcase.omnifaces.org
27 stars 17 forks source link

Suggestion to configure the main pom.xml using maven plugins for embedded servers #7

Closed samolisov closed 8 years ago

samolisov commented 8 years ago

My suggestion

It could make easy to show the Omnifaces power for new adoptions if we do deploy and starting of the project just by one click.

I added the WebSphere Liberty Profile plugin configuration and now we can download the JavaEE7 web profile, create the server and deploy the application just by the following maven command:

$ mvn liberty:run-server

The WebSphere Liberty maven plugin is described here: https://github.com/WASdev/ci.maven.

Profiles

If it is more preferable I can add the Liberty plugin as a part of a maven profile and then other developers can add configurations for Tomcat, Jetty, whatever as other profiles.

Other PR

Oh, there is a PR is opened for the similar suggestion.