The Hippo Rijkshuisstijl Archetype

20 10 2009

logo-sose

hippo logo rijkslogo

In the last 6 months we at Sourcesense had intense activities related to Hippo 7; we found this new version pretty cool and we’ve used it to build a website for a customer and sell around some consultancy.

In the same context, we’ve been working a lot with the Rijkshuisstijl – which is the official Dutch Governmental Web Stylesheet; tired of copy-pasting, we decided to wrap up a nice package to use, reuse and share with the rest of the community.

The main goal of this package is to provide a standard way to deliver a working Hippo CMS environment (and reusable examples of customization) for a small/medium Rijkshuisstijl-compliant website; there is also a special focus on the development environment and application lifecycle management, which are topics that can be easily de-prioritized at the beginning of a project, but can make the difference on the long run.

We’re proud to share with you the Hippo Rijkshuisstijl Archetype! Many thanks to the whole sourcesense NL team for the great support, but a special one goes to Paul Bakker, who was my teammate on all these activities and contributed a lot to this archetype.

How to Use it

  1. Download Apache Maven 2.x.x
  2. Run from commandline
     mvn archetype:generate -DarchetypeArtifactId=hippo-rijks-archetype \
     -DarchetypeGroupId=com.sourcesense.hippo -DarchetypeVersion=7.1.1.1 \
     -DarchetypeRepository=http://repository.sourcesense.com/nexus/content/groups/public

With an empty Maven repository (if you never ran any maven command) it took me roughly 3 minutes to get the project

The version 7.1.1.0 identifies the major Hippo GA version (7.1) and the archetype version (1.1); soon we’ll release also the 7.2.1.0 version, which will introduce Hippo ECM 2.09.x version (with a stable data model namespace) and Hippo HST 2.04.x

How to run it

  1. mv profiles.xml.sample profiles.xml
  2. mvn clean install (took me roughly 10 minutes with an empty repo)
  3. cd cms && mvn jetty:run-war
  4. cd site && mvn jetty:run
  5. Open on a browser http://localhost:8080/cms for the CMS and http://localhost:8085/site/preview for the site

Comparing with the standard Hippo Archetypes what’s more

  • Default Rijkshuisstijl XHTML presentation layer with homepage, landing pages, news pages, breadcrumb, repository-based menus and navigation and search.
  • Maven application lifecycle management facilities (see maven-calm)

How to contribute

Shout out what you think! You can checkout the source code from SVN or you can directly download the archetypes from our repository

There are still some bugs and lots of improvements in the TODO list! Feel free to contribute thoughts and code.

Picture taken from www.republic.nl and www.onehippo.org

Actions

Information

One response

5 11 2009
Amsterdamned « Software Engineering Slave

[...] CMS is having a lot of popularity among public institutions in the Netherlands, something my dutch colleagues have been working on hard also. but even if Hippo 7 is getting popular, there are still a lot of projects done with the older [...]

Leave a comment