Fork me on GitHub

Prerequisites

Note: Please make sure to install Prerequisites on the system.

Maven Repository for Gallery Magick Image Processing

Make sure you have the forge Maven2 repository reference in the root pom.xml of your project.

    <repositories>

      <!-- SNIP -->

      <repository>
        <id>bloomreach-maven2-forge</id>
        <name>Bloomreach Maven 2 Forge Repository</name>
        <url>https://maven.bloomreach.com/repository/maven2-forge/</url>
      </repository>

      <!-- SNIP -->

    </repositories>
        

Installing Gallery Magick Image Processing Core Library

Add Dependencies

Make sure you have dependency definition in the root pom.xml of your project.

    <dependencyManagement>

      <!-- SNIP -->

      <dependencies>

        <!-- SNIP -->

        <!-- NOTE: You should set a property named 'forge.gallery-magick.version' to a version of this plugin! -->
        <dependency>
          <groupId>org.onehippo.forge.gallery-magick</groupId>
          <artifactId>gallery-magick-core</artifactId>
          <version>${forge.gallery-magick.version}</version>
        </dependency>

        <!-- SNIP -->

      </dependencies>

      <!-- SNIP -->

    </dependencyManagement>
    

And add the following dependency reference into the pom.xml of the CMS module.

    <dependencies>

      <!-- SNIP -->

      <dependency>
        <groupId>org.onehippo.forge.gallery-magick</groupId>
        <artifactId>gallery-magick-core</artifactId>
      </dependency>

      <!-- SNIP -->

    </dependencies>
    

Now, you're ready to use the library!