These instructions assume a Hippo CMS project based on the Hippo website archetype, i.e. a Maven multi-module project with parent pom org.onehippo.cms7:hippo-cms7-release and consisting of at least sub-modules /cms and /cms-dependencies.
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> </repository>
Add this property to the properties section of the root pom.xml:
<bloomreach.forge.gallery-background-processor.version>2.0.0</bloomreach.forge.gallery-background-processor.version>
Select the correct version for your project. See the release notes for more information on which version is applicable.
Add this dependency to the <dependencyManagement> section of the root pom.xml:
<dependency> <groupId>org.bloomreach.forge.gallery-background-processor</groupId> <artifactId>gallery-background-processor</artifactId> <version>${bloomreach.forge.gallery-background-processor.version}</version> </dependency>
Add the following dependency to cms-dependencies/pom.xml.
<dependency> <groupId>org.bloomreach.forge.gallery-background-processor</groupId> <artifactId>gallery-background-processor</artifactId> </dependency>
Rebuild and start your project, then configure the BackgroundScalingGalleryProcessorPlugin. In case you start with an existing repository don’t forget to add -Drepo.bootstrap=true to your startup options.