Fork me on GitHub

Installing Hippo JCR POJO Binding

Add Dependencies

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

    <repositories>

      <!-- SNIP -->

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

      <!-- SNIP -->

    </repositories>

    <!-- SNIP -->

    <dependencyManagement>

      <!-- SNIP -->

      <dependencies>

        <!-- SNIP -->

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

        <!-- SNIP -->

      </dependencies>

      <!-- SNIP -->

    </dependencyManagement>
    

And add the following dependency reference into your application subproject.

    <dependencies>

      <!-- SNIP -->

      <dependency>
        <groupId>org.onehippo.forge.hippo-pojo-bind</groupId>
        <artifactId>hippo-pojo-bind-jcr</artifactId>
      </dependency>

      <!-- SNIP -->

    </dependencies>
    

Now, you're ready to use the plugin!