•  
Main
About Hippo Portal
Documentation
Community
Other

The portal project

This page explains how to create a Hippo Portal project. Make sure you have followed the steps outlined in the build requirements .

Creating a default setup

The Hippo Portal Maven-1 plugin contains a goal to create a new portal project from scratch, with default directory structure and files. Create a project folder and execute the following command in the console from that folder:

maven hp:create-portal-project

If you want to know more about the generated file structure, go to this page .

Basic configuration

The hp:create-portal-project maven goal you executed in the previous step generated also a default Hippo Portal configuration. In order to transform this into your custom Hippo Portal project, you need to change and add a few basic configuration details:

project.xml

Modify the artifactId, which is used as context name for your web application.

project.properties

Modify project.properties and define properties such as

  • location of tomcat
  • version of tomcat
  • database settings

The properties and their default values are included in commented form in project.properties!

Note: You can also choose to leave the project.properties file intact, and create a build.properties file in the same folder. Property values defined in this file override the property values from project.properties.

project.properties

Updating to the latest Hippo Portal version

Updating to the latest version of Hippo Portal can be done by installing the latest version of the Hippo Portal Maven-1 plugin , and then executing the following command in the root of your project:

maven hp:update-portal-dependencies

This will update the Maven dependencies in the following files:

  • core-build.xml
  • full-portal.xml
  • hippo-portal-components.xml
  • jetspeed-components.xml