Fork me on GitHub

Installation

Bloomreach Forge Maven Repository Configuration

Make sure you have the Maven2 Forge 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/maven2-forge/</url>
            </repository>

            <!-- SNIP -->

          </repositories>
        

Dependency Management

Make sure the dependencies are installed as test scoped

Component Testing Dependencies

In either site/components/pom.xml in projects created on brXM v13 or later or site/pom.xml in projects created on earlier versions, add the following dependency:

            <dependency>
              <groupId>org.bloomreach.forge.brut</groupId>
              <artifactId>brut-components</artifactId>
              <version>${brut.version}</version>
              <scope>test</scope>
            </dependency>
          

Headless Testing Dependencies

In either site/components/pom.xml in projects created on brXM v13 or later or site/pom.xml in projects created on earlier versions, add the following dependency:

            <dependency>
              <groupId>org.bloomreach.forge.brut</groupId>
              <artifactId>brut-resources</artifactId>
              <version>${brut.version}</version>
              <scope>test</scope>
            </dependency>