3.3. Install the Maven Repository

There are three ways to install the required repositories:
Use the option that best suits your environment.

3.3.1. Local File System Repository Installation

This option is best suited for initial testing in a small team. Follow the outlined procedure to extract the Red Hat JBoss Data Grid and JBoss Enterprise Application Platform Maven repositories to a directory in your local file system:

Procedure 3.1. Local File System Repository Installation (JBoss Data Grid)

  1. Log Into the Customer Portal

    In a browser window, navigate to the Customer Portal page (https://access.redhat.com/home) and log in.
  2. Download the JBoss Data Grid Repository File

    Download the jboss-datagrid-{VERSION}-maven-repository.zip file from the Red Hat Customer Portal.
  3. Unzip the file to a directory on your local file system (for example $JDG_HOME/projects/maven-repositories/).
The above procedure will create a new jboss-datagrid-${jdg-version}-maven-repository directory, which contains the Maven repository in a subdirectory entitled maven-repository/.

3.3.2. Apache httpd Repository Installation

This example will cover the steps to download the JBoss Data Grid Maven Repository for use with Apache httpd. This option is good for multi-user and cross-team development environments because any developer that can access the web server can also access the Maven repository.

Note

Apache httpd must be configured for the following steps to work. For instructions on configuring Apache refer to the Apache HTTP Server Project.
  1. Find Red Hat JBoss Data Grid 7.0.0 Maven Repository in the list.
  2. Click the Download button to download a .zip file containing the repository.
  3. Unzip the files in a directory that is web accessible on the Apache server.
  4. Configure Apache to allow read access and directory browsing in the created directory.

3.3.3. Maven Repository Manager Installation

This option is ideal if you are already using a repository manager.
The Red Hat JBoss Data Grid and JBoss Enterprise Application Server repositories are installed using a Maven repository manager using its documentation. Examples of such repository managers are: