Fork me on GitHub

Installing the External Resource Add-ons

This section assumes you are using Maven to manage your Hippo CMS project.

Add the Forge repository configuration

In the main pom.xml of the project, in the repositories section, add this repository if it is not configured there yet.

    <repository>
      <id>hippo-forge</id>
      <name>Bloomreach Forge maven 2 repository.</name>
      <url>https://maven.onehippo.com/maven2-forge/</url>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <releases>
        <updatePolicy>never</updatePolicy>
      </releases>
      <layout>default</layout>
    </repository>
        

Add version properties to the project pom

In the main pom.xml of the project, in the properties section, add this property. For the correct version number, check the Release Notes page.

    <forge.externalresource.version>version.number</forge.externalresource.version>
        

The CMS

Add the following dependencies to your custom CMS project's pom.xml file:

    <dependency>
      <groupId>org.onehippo.forge</groupId>
      <artifactId>externalresource-addon-frontend</artifactId>
      <version>${forge.externalresource.version}</version>
    </dependency>

    <dependency>
      <groupId>org.onehippo.forge</groupId>
      <artifactId>externalresource-addon-repository</artifactId>
      <version>${forge.externalresource.version}</version>
    </dependency>

    <dependency>
      <groupId>org.onehippo.forge</groupId>
      <artifactId>externalresource-addon-reports</artifactId>
      <version>${forge.externalresource.version}</version>
    </dependency>
                

Rebuild your project to include the add-on.

The site

Add the following dependencies to your custom site project's pom.xml file:

    <dependency>
      <groupId>org.onehippo.forge</groupId>
      <artifactId>externalresource-hst</artifactId>
      <version>${forge.externalresource.version}</version>
    </dependency>
                

Rebuild your project to include the add-on.

Cargo

The following should be added to the cargo profile in your pom.xml:

          
    <dependency>
      <groupId>org.onehippo.forge</groupId>
      <artifactId>externalresource-common</artifactId>
      <classpath>shared</classpath>
    </dependency>