MITH's development for the Walter Whitman Archive project.
This repo holds the ODD and its derivatives for a document-focused transformation of the text-focused WWA TEI.
This repo includes a Cocoon 2.2 block to manipualte WWA TEI documents for display through the SGA Shared Canvas viewer (https://github.com/umd-mith/sga/tree/master/shared-canvas)
To compile the block so that it can be used in a webapp, run:
$ mvn install
Then step out of the directory to create a Cocoon 2.2. webapp:
mvn archetype:generate -DarchetypeCatalog=http://cocoon.apache.org
Pick option 3, then set the values for the Maven package (more info here).
In the pom.xml setting file, load the block as dependency:
<dependency> <groupId>org.mith</groupId> <artifactId>wwa</artifactId> <version>1.0.0</version> </dependency>
Then create the war package and you should be good to go:
mvn package
Deploy the war file to Tomcat or test it with jetty using
mvn jetty:run