This maven2 archetype contains a little sample web application with this Frameworks:
- Spring 3.0.4.RELEASE Framework
- Servlet-API 2.5
- MyFaces-Core 1.2.8
- IceFaces 1.8.2
- Facelets 1.11
- ploinFaces 1.4.6
- ploinMailFactory 1.3.1
- Hibernate 3.3.4.GA
- TestNG 5.8
- Log4J 1.2.15
- HSQLDB 1.8.0.7
The configuration is xml-driven. It is deployed on the PLOIN Repository-Server
http://www.ploin-m2.de/nexus/content/groups/public/
you can create a project from the archetype with the following command:
mvn archetype:generate -DarchetypeGroupId=org.ploin.archetype -DarchetypeArtifactId=tempSpringIceHibernate -DarchetypeVersion=1.1.1 -DarchetypeRepository=http://www.ploin-m2.de/nexus/content/groups/public/ -DgroupId=org.ploin -DartifactId=demoSpringIceHibernate
The created project is a very simple web-application with a login mask and three xhtml-sites. I have tested the app on a tomcat 6.0.20 and Java 1.6 on Mac OS X Snow Leopard.
You can login with the username “admin” and the password “admin”.
After the creation the app is running with the HypersoniceSQL DBMS. But it is very easy to switch to MySQL or Oracle. I put the drivers for MySQL and Oracle as a comment in the pom.xml. So you just need to comment int the right lines in the pom.xml.