Maven Archetype for CDI and JSF

javajavaeejsfcdi

Today I created a maven archetype for small JSF/CDI based applications. It creates a small web application that is meaned to be run on a Servlet Container and not on a JavaEE Application Server.

As you know on a servlet container there are no implementations provided for JavaEE-API's like JavaServer Faces or JavaPersistence API. Therefore I added the needed dependencies in the archetype.

In addition there are some Testing libraries like JUnit, Mockito and FEST-Assert added too.

The configuration of the archetype is highly opinionated and contains the libraries I'm using regularly. It is intended for my own usage but as it doesn't cost me anything to publish it to github you might find it usefull too.

Github: https://github.com/manuel_mauky/jsf-cdi-archetype