3.2. Download and make Available the Maven Repository

The JBoss Web Framework Kit Maven repository is available to download from the Red Hat Customer Portal as a .zip file. Once downloaded, you must extract the contents of the file and make it available for use by your preferred Maven management system: local file system, web server, Nexus Maven repository manager. The latter two systems host Maven repositories so making them accessible to multiple users and may require additional configuration as noted in the procedure below.

Procedure 3.1. Download and make Available the Maven Repository

  1. Log into the Red Hat Customer Portal at http://access.redhat.com.
  2. Locate the downloads for this release version of JBoss Web Framework Kit.
  3. Download the .zip file for the Red Hat JBoss Web Framework Kit Maven Repository.
  4. Complete the appropriate steps for your Maven management system:
    • For a local file system installation, extract the contents of the downloaded .zip file to the local file system location where you want to keep them.
    • For an Apache Web Server:
      1. Extract the contents of the downloaded .zip file to a web-accessible directory in the Apache Web Server, for example, /var/www/maven-repositories/.
      2. In /etc/httpd/conf.d/, create a new text file named maven-repositories.conf. This file will be used to enable read access and directory browsing of /var/www/maven-repositories/.
      3. In the maven-repositories.conf file, add the following:
        <Directory "/var/www/maven-repositories">
          Options Indexes FollowSymLinks
          AllowOverride None
          Require all granted
        </Directory>
        
        Alias /maven-repositories /var/www/maven-repositories
        
        This grants access to the contents of /var/www/maven-repositories/ and provides an alias for the Maven repository path.
      4. Save and close the file.
    • For a Nexus Maven Repository Manager:
      1. Extract the contents of the downloaded .zip file to a suitable location in the Nexus file system.
      2. Start the Nexus Repository Manager
      3. Add the JBoss Web Framework Kit Maven repository as a hosted repository, pointing to the extracted .zip file contents.
      4. Add the JBoss Web Framework Kit Maven hosted repository to the desired repository group to make it available for use.