CHS is a showcase of the integration between Cocoon, Hibernate and Spring.
This component is made available outside of the main Cocoon CVS repository because it relies on Hibernate which is LGPL licensed and as such cannot be added to Apache's CVS repository.
<project name="cocoon-block-spring" status="unstable">
<package>org.apache.cocoon</package>
<ant target="gump-block">
<property name="block-name" value="spring"/>
<property name="version" value="@@DATE@@"/>
</ant>
<depend project="cocoon" inherit="all"/>
<library name="aopalliance"/>
<library name="c3p0"/>
<library name="cglib-full"/>
<library name="commons-dbcp"/>
<library name="commons-pool"/>
<library name="connector"/>
<library name="dom4j"/>
<library name="jta"/>
<library name="odmg"/>
<library name="proxool"/>
<library name="spring-aop"/>
<library name="spring-context"/>
<library name="spring-core"/>
<library name="spring-dao"/>
<library name="spring-orm"/>
<library name="spring-web"/>
<library name="hsqldb"/>
<library name="hibernate2"/>
<work nested="tools/anttasks"/>
<home nested="build/cocoon-@@DATE@@"/>
<jar name="blocks/spring-block.jar"/>
<nag from="Gump" to="dev@cocoon.apache.org"/>
</project>
Now you can build Cocoon as usual.
You can find the Spring Petstore sample under http://localhost:8888/samples/blocks/spring/