Fork me on GitHub

Installing BloomReach Version History Cleaner

Add Dependencies

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

    <repositories>

      <!-- SNIP -->

      <repository>
        <id>hippo-maven2</id>
        <name>Hippo Maven 2 Repository</name>
        <url>https://maven.onehippo.com/maven2-forge//</url>
      </repository>

      <!-- SNIP -->

    </repositories>

    <!-- SNIP -->

    <dependencyManagement>

      <!-- SNIP -->

      <dependencies>

        <!-- SNIP -->

        <!-- NOTE: You should set a property named 'version-history-cleaner.version' to a version of this plugin! -->

        <dependency>
          <groupId>com.bloomreach.forge.version-history-cleaner</groupId>
          <artifactId>version-history-cleaner-core</artifactId>
          <version>${version-history-cleaner.version}</version>
        </dependency>

        <dependency>
          <groupId>com.bloomreach.forge.version-history-cleaner</groupId>
          <artifactId>version-history-cleaner-repository</artifactId>
          <version>${version-history-cleaner.version}</version>
        </dependency>

        <!-- SNIP -->

      </dependencies>

      <!-- SNIP -->

    </dependencyManagement>
    

And add the following dependencies to your application subproject. That is, In either cms-dependencies/pom.xml.

    <dependencies>

      <!-- SNIP -->

      <dependency>
        <groupId>com.bloomreach.forge.version-history-cleaner</groupId>
        <artifactId>version-history-cleaner-core</artifactId>
        <version>${version-history-cleaner.version}</version>
      </dependency>

      <dependency>
        <groupId>com.bloomreach.forge.version-history-cleaner</groupId>
        <artifactId>version-history-cleaner-repository</artifactId>
        <version>${version-history-cleaner.version}</version>
      </dependency>

      <!-- SNIP -->

    </dependencies>
    

Now, you're ready to use the plugin!